improve landscape view on smaller screens

This commit is contained in:
Nathan Freitas 2017-03-01 23:08:31 -05:00
parent fc4b0940d9
commit 673e6c8af7
2 changed files with 104 additions and 107 deletions

View File

@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.torproject.android" package="org.torproject.android"
android:installLocation="auto" android:installLocation="auto"
android:versionCode="15208000" android:versionCode="15401000"
android:versionName="15.3.0-beta-1-multi"> android:versionName="15.4.0-beta-1-multi">
<uses-sdk <uses-sdk
android:minSdkVersion="16" android:minSdkVersion="16"
@ -38,7 +38,6 @@
android:theme="@style/DefaultTheme"> android:theme="@style/DefaultTheme">
<activity <activity
android:name=".OrbotMainActivity" android:name=".OrbotMainActivity"
android:configChanges="orientation|screenSize"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:launchMode="singleTop"> android:launchMode="singleTop">
<intent-filter> <intent-filter>

View File

@ -21,7 +21,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
> >
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:id="@+id/content_frame" android:id="@+id/content_frame"
@ -40,14 +40,12 @@
<org.torproject.android.ui.ImageProgressView <org.torproject.android.ui.ImageProgressView
android:id="@+id/imgStatus" android:id="@+id/imgStatus"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="209dp" android:layout_height="180dp"
android:padding="0dp" android:padding="0dp"
android:layout_margin="0dp" android:layout_margin="0dp"
android:src="@drawable/toroff" /> android:src="@drawable/toroff" />
<LinearLayout android:gravity="center_horizontal" <LinearLayout android:gravity="center_horizontal"
android:orientation="horizontal" android:layout_width="match_parent" android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"