1. orientation fix

This commit is contained in:
vadym 2020-06-27 13:24:47 -07:00
parent 317e040e1b
commit a8eaa5fc9d
2 changed files with 10 additions and 8 deletions

View File

@ -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" />

View File

@ -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