diff options
Diffstat (limited to 'app/src/main/res/layout-xlarge')
-rw-r--r-- | app/src/main/res/layout-xlarge/about.xml | 35 | ||||
-rw-r--r-- | app/src/main/res/layout-xlarge/dashboard.xml | 22 | ||||
-rw-r--r-- | app/src/main/res/layout-xlarge/eip_service_fragment.xml | 16 | ||||
-rw-r--r-- | app/src/main/res/layout-xlarge/logwindow.xml | 17 | ||||
-rw-r--r-- | app/src/main/res/layout-xlarge/user_session_fragment.xml | 19 | ||||
-rw-r--r-- | app/src/main/res/layout-xlarge/vpnstatus.xml | 52 |
6 files changed, 101 insertions, 60 deletions
diff --git a/app/src/main/res/layout-xlarge/about.xml b/app/src/main/res/layout-xlarge/about.xml index 6ab88737..227da8b0 100644 --- a/app/src/main/res/layout-xlarge/about.xml +++ b/app/src/main/res/layout-xlarge/about.xml @@ -16,7 +16,7 @@ android:id="@+id/version" android:layout_width="match_parent" android:layout_height="wrap_content" - android:textSize="18sp" /> + android:textSize="24sp" /> <Space android:layout_width="match_parent" @@ -40,9 +40,16 @@ android:autoLink="all" android:text="@string/repository_url_text" /> + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textSize="18sp" + android:autoLink="all" + android:text="@string/leap_tracker" /> + <Space android:layout_width="match_parent" - android:layout_height="12sp" /> + android:layout_height="18sp" /> <TextView android:layout_width="match_parent" @@ -74,12 +81,12 @@ <Space android:layout_width="match_parent" - android:layout_height="12sp" /> + android:layout_height="20sp" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" - android:textSize="18sp" + android:textSize="24sp" android:text="@string/openvpn" android:textAppearance="?android:attr/textAppearanceMedium" /> <!-- @@ -103,7 +110,7 @@ <TextView android:layout_width="match_parent" android:layout_height="wrap_content" - android:textSize="18sp" + android:textSize="24sp" android:text="@string/lzo" android:textAppearance="?android:attr/textAppearanceMedium" /> @@ -120,7 +127,7 @@ <TextView android:layout_width="match_parent" android:layout_height="wrap_content" - android:textSize="18sp" + android:textSize="24sp" android:text="@string/openssl" android:textAppearance="?android:attr/textAppearanceMedium" /> @@ -129,6 +136,22 @@ android:layout_height="wrap_content" android:textSize="18sp" android:text="@string/copyright_openssl" /> + <Space + android:layout_width="match_parent" + android:layout_height="20sp" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/okhttp" + android:textSize="24sp" + android:textAppearance="?android:attr/textAppearanceMedium" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textSize="18sp" + android:text="@string/copyright_okhttp" /> </LinearLayout> </ScrollView> diff --git a/app/src/main/res/layout-xlarge/dashboard.xml b/app/src/main/res/layout-xlarge/dashboard.xml index 3c93a04c..b9c78b68 100644 --- a/app/src/main/res/layout-xlarge/dashboard.xml +++ b/app/src/main/res/layout-xlarge/dashboard.xml @@ -22,28 +22,10 @@ android:textAppearance="?android:attr/textAppearanceMedium" /> <LinearLayout + android:id="@+id/user.status.fragment" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginLeft="32dp" - android:layout_marginStart="32dp"> - <ProgressBar - android:id="@+id/user_session_status_progress" - android:layout_width="wrap_content" - android:layout_height="fill_parent" - android:indeterminate="true" - android:visibility="gone"/> - <TextView - android:id="@+id/user_session_status" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textSize="18sp" - android:layout_marginLeft="10dp" - android:layout_marginStart="10dp" - android:ellipsize="marquee" - android:singleLine="true" - android:textAppearance="?android:attr/textAppearanceMedium" - /> - </LinearLayout> + android:orientation="horizontal"/> <LinearLayout android:id="@+id/servicesCollection" diff --git a/app/src/main/res/layout-xlarge/eip_service_fragment.xml b/app/src/main/res/layout-xlarge/eip_service_fragment.xml index 2b3c4f2e..28ac3b9a 100644 --- a/app/src/main/res/layout-xlarge/eip_service_fragment.xml +++ b/app/src/main/res/layout-xlarge/eip_service_fragment.xml @@ -8,15 +8,17 @@ <TextView android:id="@+id/eipLabel" + android:layout_centerHorizontal="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:layout_marginStart="10dp" android:layout_marginTop="12dp" - android:layout_marginBottom="12dp" + android:layout_marginBottom="30dp" android:text="@string/eip_service_label" - android:textAppearance="?android:attr/textAppearanceLarge" - android:textSize="24sp"/> + android:textSize="46sp" + android:textAppearance="?android:attr/textAppearanceMedium" + /> <LinearLayout @@ -35,10 +37,10 @@ android:textSize="32sp" /> - <mbanje.kurt.fabbutton.FabButton + <se.leap.bitmaskclient.userstatus.FabButton android:id="@+id/vpn_status_image" - android:layout_width="48dp" - android:layout_height="48dp" + android:layout_width="56dp" + android:layout_height="56dp" android:color="@android:color/holo_blue_dark" android:layout_gravity="center" android:visibility="visible" @@ -46,7 +48,7 @@ android:max="100" fbb_autoStart="true" fbb_progressColor="#ff170aff" - fbb_progressWidthRatio="0.1" + fbb_progressWidthRatio="0.2" android:layout_marginStart="24dp" android:layout_marginLeft="24dp" /> diff --git a/app/src/main/res/layout-xlarge/logwindow.xml b/app/src/main/res/layout-xlarge/logwindow.xml deleted file mode 100644 index 4051c92c..00000000 --- a/app/src/main/res/layout-xlarge/logwindow.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" > - - <TextView android:text="@string/speed_waiting" - android:singleLine="true" - android:id="@+id/speed" - android:layout_width="match_parent" - android:layout_height="wrap_content"/> - <ListView - android:id="@android:id/list" - android:layout_width="fill_parent" - android:layout_height="fill_parent" /> - -</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout-xlarge/user_session_fragment.xml b/app/src/main/res/layout-xlarge/user_session_fragment.xml index 30969219..df72f615 100644 --- a/app/src/main/res/layout-xlarge/user_session_fragment.xml +++ b/app/src/main/res/layout-xlarge/user_session_fragment.xml @@ -1,5 +1,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="30dp" @@ -13,8 +14,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="30dp" - android:layout_marginRight="60dp" - android:layout_marginEnd="60dp" android:layout_gravity="center" android:textSize="46sp" android:text="@string/default_username" @@ -30,25 +29,25 @@ android:id="@+id/user.status.button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textSize="24sp" + android:textSize="32sp" /> - <view + <se.leap.bitmaskclient.userstatus.FabButton android:id="@+id/user.status.icon" android:layout_width="56dp" android:layout_height="56dp" - android:layout_marginLeft="26dp" - android:layout_marginStart="26dp" - android:background="@android:color/transparent" + android:layout_marginStart="24dp" + android:layout_marginLeft="24dp" + android:shadowRadius="0" + android:src="@drawable/icon_user" android:color="@android:color/holo_blue_dark" - class="mbanje.kurt.fabbutton.FabButton" android:layout_gravity="center" android:visibility="visible" android:indeterminate="true" android:max="100" fbb_autoStart="true" - fbb_progressColor="#ff170aff" - fbb_progressWidthRatio="0.3" + app:fbb_progressColor="@android:color/holo_green_dark" + app:fbb_progressWidthRatio="0.2" /> </LinearLayout> diff --git a/app/src/main/res/layout-xlarge/vpnstatus.xml b/app/src/main/res/layout-xlarge/vpnstatus.xml new file mode 100644 index 00000000..3b464b62 --- /dev/null +++ b/app/src/main/res/layout-xlarge/vpnstatus.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2012-2016 Arne Schwabe + ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + --> + +<merge xmlns:tools="http://schemas.android.com/tools" + xmlns:android="http://schemas.android.com/apk/res/android"> + + <Space + android:layout_weight="1" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + + <TextView + android:text="@string/uploaded_data" + style="@style/logWindowStatusTitle"/> + + <TextView + style="@style/logWindowStatusText" + android:id="@+id/speedUp" + tools:text="4 Mbit/s 6.7 GB"/> + + <TextView + android:text="@string/downloaded_data" + style="@style/logWindowStatusTitle"/> + + <TextView + style="@style/logWindowStatusText" + android:id="@+id/speedDown" + tools:text="2 Mbit/s 4.7 GB"/> + + + <Space + android:layout_weight="1" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + + <TextView + android:text="@string/vpn_status" + style="@style/logWindowStatusTitle"/> + + <TextView + + android:id="@+id/speedStatus" + tools:text="Connected to a very long ipv4 and 3483489348238824829482384928" + style="@style/logWindowStatusText"/> + + +</merge>
\ No newline at end of file |