mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2025-01-22 07:56:30 +00:00
1. orientation fix
This commit is contained in:
parent
317e040e1b
commit
a8eaa5fc9d
@ -17,11 +17,13 @@
|
||||
<activity
|
||||
android:name=".PeerListActivity"
|
||||
android:label="@string/title_activity_peer_list"
|
||||
android:theme="@style/AppTheme.NoActionBar" />
|
||||
android:theme="@style/AppTheme.NoActionBar"
|
||||
android:screenOrientation="portrait"/>
|
||||
<activity
|
||||
android:name=".DNSListActivity"
|
||||
android:label="@string/title_activity_dns_list"
|
||||
android:theme="@style/AppTheme.NoActionBar" />
|
||||
android:theme="@style/AppTheme.NoActionBar"
|
||||
android:screenOrientation="portrait"/>
|
||||
<service
|
||||
android:name=".YggdrasilTunService"
|
||||
android:enabled="true"
|
||||
@ -33,7 +35,8 @@
|
||||
</service>
|
||||
|
||||
<activity android:name=".MainActivity"
|
||||
android:launchMode= "singleInstance">
|
||||
android:launchMode= "singleInstance"
|
||||
android:screenOrientation="portrait">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
@ -17,7 +17,8 @@
|
||||
android:paddingLeft="20dp"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:animateLayoutChanges="true">
|
||||
android:animateLayoutChanges="true"
|
||||
android:visibility="gone">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -33,8 +34,8 @@
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:textColor="@color/dark_30" />
|
||||
|
||||
android:textColor="@color/dark_30"
|
||||
/>
|
||||
<Button
|
||||
android:id="@+id/copyIp"
|
||||
android:layout_width="wrap_content"
|
||||
@ -42,7 +43,6 @@
|
||||
android:text="COPY"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:background="@android:color/transparent"/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<TextView
|
||||
@ -58,7 +58,6 @@
|
||||
app:layout_constraintEnd_toStartOf="@+id/copyIp"
|
||||
android:text=""
|
||||
android:textColor="@color/white"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
Loading…
x
Reference in New Issue
Block a user