diff options
Diffstat (limited to 'android/xscreensaver/res/layout')
5 files changed, 0 insertions, 197 deletions
diff --git a/android/xscreensaver/res/layout/activity_tv_xscreensaver.xml b/android/xscreensaver/res/layout/activity_tv_xscreensaver.xml deleted file mode 100644 index 4c658bd..0000000 --- a/android/xscreensaver/res/layout/activity_tv_xscreensaver.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- TODO: Flip layout orientation on rotation. And maybe make scrollable? --> -<!-- TODO: Remove action bar; it's redundant. --> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - tools:context="org.jwz.xscreensaver.TVActivity"> - <LinearLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerHorizontal="true" - android:layout_centerVertical="true" - android:orientation="vertical"> - <ImageView - android:layout_width="256sp" - android:layout_height="256sp" - android:layout_centerHorizontal="true" - android:src="@drawable/thumbnail" /> - <!-- TODO: Version number! --> - <TextView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:text="XScreenSaver" - android:textSize="32sp" /> - <!-- TODO: Either figure out how to open daydream settings directly on - Android TV, or change this to say "Open Settings". --> - <Button - android:id="@+id/apply_daydream" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="Open Daydream list" /> - <TextView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:autoLink="web" - android:gravity="center" - android:text="https://www.jwz.org/xscreensaver/" /> - </LinearLayout> -</RelativeLayout> diff --git a/android/xscreensaver/res/layout/activity_xscreensaver.xml b/android/xscreensaver/res/layout/activity_xscreensaver.xml deleted file mode 100644 index 88372e6..0000000 --- a/android/xscreensaver/res/layout/activity_xscreensaver.xml +++ /dev/null @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- TODO: Flip layout orientation on rotation. And maybe make scrollable? --> -<!-- TODO: Remove action bar; it's redundant. --> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - tools:context="org.jwz.xscreensaver.Activity"> - <LinearLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerHorizontal="true" - android:layout_centerVertical="true" - android:orientation="vertical"> - <ImageView - android:layout_width="256sp" - android:layout_height="256sp" - android:layout_centerHorizontal="true" - android:src="@drawable/thumbnail" /> - <!-- TODO: Version number! --> - <TextView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:text="XScreenSaver" - android:textSize="32sp" /> - <Button - android:id="@+id/apply_wallpaper" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="Open live wallpaper list" /> - <Button - android:id="@+id/apply_daydream" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="Open Daydream list" /> - <TextView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:autoLink="web" - android:gravity="center" - android:text="https://www.jwz.org/xscreensaver/" /> - </LinearLayout> -</RelativeLayout> diff --git a/android/xscreensaver/res/layout/main.xml b/android/xscreensaver/res/layout/main.xml deleted file mode 100644 index 4361cfe..0000000 --- a/android/xscreensaver/res/layout/main.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - > -</LinearLayout> diff --git a/android/xscreensaver/res/layout/preference_blurb.xml b/android/xscreensaver/res/layout/preference_blurb.xml deleted file mode 100644 index 66e6d82..0000000 --- a/android/xscreensaver/res/layout/preference_blurb.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<!-- Layout for the description of each screen saver, that appears - at the bottom of the preferences screen. Based on - sdk/platforms/android-21/data/res/layout/preference.xml - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" - android:gravity="center_vertical" - android:paddingEnd="?android:attr/scrollbarSize" - android:background="?android:attr/selectableItemBackground" > - - <ImageView - android:id="@+android:id/icon" - android:layout_gravity="top" - android:layout_width="40dip" - android:layout_height="40dip" - android:layout_marginTop="0dip" - /> - - <RelativeLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginStart="0dip" - android:layout_marginEnd="0dip" - android:layout_marginTop="6dip" - android:layout_marginBottom="6dip" - android:layout_weight="1"> - - <TextView android:id="@+android:id/summary" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@android:id/title" - android:layout_alignStart="@android:id/title" - android:textAppearance="?android:attr/textAppearanceSmall" - android:textColor="?android:attr/textColorPrimary" - android:layout_marginTop="8dip" - android:maxLines="1000" /> - - </RelativeLayout> - -</LinearLayout> diff --git a/android/xscreensaver/res/layout/slider_preference.xml b/android/xscreensaver/res/layout/slider_preference.xml deleted file mode 100644 index 69647ff..0000000 --- a/android/xscreensaver/res/layout/slider_preference.xml +++ /dev/null @@ -1,60 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<!-- Layout for org/jwz/xscreensaver/SliderPreference.java --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" - android:gravity="center_vertical" - android:paddingEnd="?android:attr/scrollbarSize" - android:background="?android:attr/selectableItemBackground" > - - <TextView - android:id="@+android:id/title" - android:textAppearance="?android:attr/textAppearanceMedium" - android:ellipsize="end" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="40" - android:width="0dp" - android:layout_marginLeft="16dip" /> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="60" - android:orientation="vertical" - android:layout_marginLeft="0dip" > - - <SeekBar - android:id="@+id/slider_preference_seekbar" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> - - <RelativeLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" > - - <TextView - android:id="@+id/slider_preference_low" - android:textAppearance="?android:attr/textAppearanceSmall" - android:ellipsize="end" - android:singleLine="true" - android:layout_alignParentLeft="true" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - <TextView - android:id="@+id/slider_preference_high" - android:layout_alignParentRight="true" - android:textAppearance="?android:attr/textAppearanceSmall" - android:ellipsize="end" - android:singleLine="true" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </RelativeLayout> - </LinearLayout> -</LinearLayout> |