mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-29 15:51:17 +00:00
parent
9b4eb57732
commit
7639babd14
4 changed files with 82 additions and 100 deletions
|
@ -1,26 +1,26 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/bg_screen1">
|
android:background="@color/bg_screen1"
|
||||||
|
android:fillViewport="true"
|
||||||
|
android:paddingBottom="@dimen/dots_full_height">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:background="@color/bg_screen1"
|
android:layout_width="match_parent"
|
||||||
android:gravity="center_horizontal"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_centerInParent="true"
|
android:gravity="center"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/welcome_title"
|
android:layout_margin="30dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:text="@string/welcome_title"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textSize="30sp"
|
android:textSize="30sp" />
|
||||||
android:layout_margin="30dp" />
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="@dimen/img_width_height"
|
android:layout_width="@dimen/img_width_height"
|
||||||
|
@ -36,24 +36,19 @@
|
||||||
android:textSize="@dimen/slide_title"
|
android:textSize="@dimen/slide_title"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
<ScrollView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_marginTop="@dimen/desc_marginTop"
|
android:layout_marginTop="@dimen/desc_marginTop"
|
||||||
android:paddingLeft="@dimen/desc_padding"
|
android:paddingLeft="@dimen/desc_padding"
|
||||||
android:paddingRight="@dimen/desc_padding"
|
android:paddingRight="@dimen/desc_padding"
|
||||||
android:paddingBottom="@dimen/desc_paddingBottom"
|
android:paddingBottom="@dimen/desc_paddingBottom"
|
||||||
android:text="@string/welcome_text"
|
android:text="@string/welcome_text"
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:layout_gravity="center_horizontal"
|
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textSize="@dimen/slide_desc" />
|
android:textSize="@dimen/slide_desc" />
|
||||||
|
|
||||||
</ScrollView>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
|
||||||
|
</ScrollView>
|
|
@ -1,26 +1,26 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/bg_screen2">
|
android:background="@color/bg_screen2"
|
||||||
|
android:fillViewport="true"
|
||||||
|
android:paddingBottom="@dimen/dots_full_height">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:background="@color/bg_screen2"
|
android:layout_width="match_parent"
|
||||||
android:gravity="center_horizontal"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_centerInParent="true"
|
android:gravity="center"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/welcome_title"
|
android:layout_margin="30dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:text="@string/welcome_title"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textSize="30sp"
|
android:textSize="30sp" />
|
||||||
android:layout_margin="30dp" />
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="@dimen/img_width_height"
|
android:layout_width="@dimen/img_width_height"
|
||||||
|
@ -33,14 +33,14 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:paddingEnd="40dp"
|
|
||||||
android:paddingLeft="40dp"
|
|
||||||
android:paddingRight="40dp"
|
|
||||||
android:paddingStart="40dp"
|
|
||||||
android:text="@string/grant_permission"
|
|
||||||
android:contentDescription="@string/grant_permission"
|
android:contentDescription="@string/grant_permission"
|
||||||
android:drawableLeft="@android:drawable/ic_menu_save"
|
|
||||||
android:drawableStart="@android:drawable/ic_menu_save"
|
android:drawableStart="@android:drawable/ic_menu_save"
|
||||||
|
android:drawableLeft="@android:drawable/ic_menu_save"
|
||||||
|
android:paddingStart="40dp"
|
||||||
|
android:paddingLeft="40dp"
|
||||||
|
android:paddingEnd="40dp"
|
||||||
|
android:paddingRight="40dp"
|
||||||
|
android:text="@string/grant_permission"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -51,26 +51,19 @@
|
||||||
android:textSize="@dimen/slide_title"
|
android:textSize="@dimen/slide_title"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
<ScrollView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_marginTop="@dimen/desc_marginTop"
|
android:layout_marginTop="@dimen/desc_marginTop"
|
||||||
android:paddingLeft="@dimen/desc_padding"
|
android:paddingLeft="@dimen/desc_padding"
|
||||||
android:paddingRight="@dimen/desc_padding"
|
android:paddingRight="@dimen/desc_padding"
|
||||||
android:paddingBottom="@dimen/desc_paddingBottom"
|
android:paddingBottom="@dimen/desc_paddingBottom"
|
||||||
android:text="@string/storage_permission_desc"
|
android:text="@string/storage_permission_desc"
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:layout_gravity="center_horizontal"
|
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textSize="@dimen/slide_desc" />
|
android:textSize="@dimen/slide_desc" />
|
||||||
|
|
||||||
</ScrollView>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
</ScrollView>
|
||||||
</RelativeLayout>
|
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/bg_screen3">
|
android:background="@color/bg_screen3"
|
||||||
|
android:fillViewport="true"
|
||||||
|
android:paddingBottom="@dimen/dots_full_height">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:background="@color/bg_screen3"
|
android:layout_width="match_parent"
|
||||||
android:gravity="center_horizontal"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_centerInParent="true"
|
android:gravity="center"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/welcome_title"
|
android:layout_margin="30dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:text="@string/welcome_title"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textSize="30sp"
|
android:textSize="30sp" />
|
||||||
android:layout_margin="30dp" />
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="@dimen/img_width_height"
|
android:layout_width="@dimen/img_width_height"
|
||||||
|
@ -33,14 +33,14 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:paddingEnd="40dp"
|
|
||||||
android:paddingLeft="40dp"
|
|
||||||
android:paddingRight="40dp"
|
|
||||||
android:paddingStart="40dp"
|
|
||||||
android:text="@string/grant_permission"
|
|
||||||
android:contentDescription="@string/grant_permission"
|
android:contentDescription="@string/grant_permission"
|
||||||
android:drawableLeft="@android:drawable/ic_menu_mylocation"
|
|
||||||
android:drawableStart="@android:drawable/ic_menu_mylocation"
|
android:drawableStart="@android:drawable/ic_menu_mylocation"
|
||||||
|
android:drawableLeft="@android:drawable/ic_menu_mylocation"
|
||||||
|
android:paddingStart="40dp"
|
||||||
|
android:paddingLeft="40dp"
|
||||||
|
android:paddingEnd="40dp"
|
||||||
|
android:paddingRight="40dp"
|
||||||
|
android:text="@string/grant_permission"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -48,15 +48,10 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:text="@string/location_permission_title"
|
android:text="@string/location_permission_title"
|
||||||
|
android:textAlignment="center"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textSize="@dimen/slide_title"
|
android:textSize="@dimen/slide_title"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold" />
|
||||||
android:textAlignment="center"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<ScrollView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -71,8 +66,6 @@
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textSize="@dimen/slide_desc" />
|
android:textSize="@dimen/slide_desc" />
|
||||||
|
|
||||||
</ScrollView>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
</ScrollView>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||||
<dimen name="dots_height">30dp</dimen>
|
<dimen name="dots_height">30dp</dimen>
|
||||||
<dimen name="dots_margin_bottom">20dp</dimen>
|
<dimen name="dots_margin_bottom">20dp</dimen>
|
||||||
|
<dimen name="dots_full_height">50dp</dimen>
|
||||||
<dimen name="img_width_height">120dp</dimen>
|
<dimen name="img_width_height">120dp</dimen>
|
||||||
<dimen name="slide_title">30sp</dimen>
|
<dimen name="slide_title">30sp</dimen>
|
||||||
<dimen name="slide_desc">16sp</dimen>
|
<dimen name="slide_desc">16sp</dimen>
|
||||||
|
|
Loading…
Reference in a new issue