| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/bottomSheet"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="android.support.design.widget.BottomSheetBehavior"
- app:behavior_hideable="false"
- app:behavior_peekHeight="60dp"
- tools:context=".MainActivity">
- <android.support.v7.widget.CardView
- android:id="@+id/optionsView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:cardBackgroundColor="?android:attr/colorBackground"
- app:cardCornerRadius="0dp"
- app:cardElevation="4dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <View
- android:id="@+id/view"
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:alpha="0.1"
- android:background="?android:attr/colorForeground" />
- <TextView
- android:id="@+id/textView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:text="@string/main_slim_options"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/deviceSettingsText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:text="@string/main_options_settings"
- android:textSize="24sp" />
- <TextView
- android:id="@+id/settingsText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:text="@string/main_options_home_screen_apps"
- android:textSize="24sp" />
- <TextView
- android:id="@+id/changeLauncherText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:text="@string/main_options_change_launcher"
- android:textSize="24sp" />
- <TextView
- android:id="@+id/rateAppText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:text="@string/main_options_feedback"
- android:textSize="24sp" />
- <TextView
- android:id="@+id/aboutText"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:text="@string/main_options_about_slim"
- android:textSize="24sp" />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.constraint.ConstraintLayout
- android:id="@+id/linearLayout2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:alpha="0.6">
- <ImageView
- android:id="@+id/ivCall"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:contentDescription="@string/main_call_icon"
- android:padding="16dp"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/ic_call" />
- <ImageView
- android:id="@+id/ivExpand"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:contentDescription="@string/main_slim_options"
- android:padding="16dp"
- app:layout_constraintEnd_toStartOf="@+id/ivCamera"
- app:layout_constraintStart_toEndOf="@+id/ivCall"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/ic_expand" />
- <ImageView
- android:id="@+id/ivCamera"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:contentDescription="@string/main_photo_camera_icon"
- android:padding="16dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/ic_photo_camera" />
- </android.support.constraint.ConstraintLayout>
- </FrameLayout>
|