Skip to content

Instantly share code, notes, and snippets.

@RootUp
Created February 11, 2019 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RootUp/68ef119985f772230f01f075b9c8fe22 to your computer and use it in GitHub Desktop.
Save RootUp/68ef119985f772230f01f075b9c8fe22 to your computer and use it in GitHub Desktop.
<android.support.design.widget.CoordinatorLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:background="@color/white" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:id="@id/ll_title_lock_setting" android:background="@color/feature_setting_background" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:paddingTop="@dimen/y4" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="16.0sp" android:textColor="@color/black" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/x12" android:layout_marginTop="@dimen/y8" android:text="@string/increase_your_security_level" android:layout_weight="1.0" />
<ImageView android:layout_gravity="center" android:id="@id/iv_close" android:paddingTop="@dimen/y12" android:paddingRight="@dimen/y12" android:layout_width="@dimen/x20" android:layout_height="@dimen/y20" android:layout_marginRight="@dimen/x8" android:src="@mipmap/icon_close" android:scaleType="centerCrop" />
</LinearLayout>
<TextView android:textSize="16.0sp" android:textColor="@color/text_time" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/x12" android:layout_marginTop="@dimen/y4" android:layout_marginBottom="@dimen/y12" android:text="@string/lock_setting_content" />
</LinearLayout>
<TextView android:textSize="20.0sp" android:textColor="@color/white" android:gravity="center" android:id="@id/tv_lock_title" android:background="@drawable/bg_scanning" android:paddingLeft="@dimen/x32" android:paddingRight="@dimen/x32" android:layout_width="fill_parent" android:layout_height="@dimen/y120" android:text="@string/app_lock_title" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<android.support.v7.widget.RecyclerView android:id="@id/app_list" android:layout_width="fill_parent" android:layout_height="wrap_content" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment