Skip to content

Instantly share code, notes, and snippets.

@liutingdu
Created August 14, 2015 09:04
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 liutingdu/b59ee51823329aa054a1 to your computer and use it in GitHub Desktop.
Save liutingdu/b59ee51823329aa054a1 to your computer and use it in GitHub Desktop.
Scanning Result UI Backup
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="1dp"
android:layout_height="fill_parent"
android:orientation="vertical">
<View
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@android:color/white"/>
<View
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="5"
android:background="@android:color/white"/>
<View
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@android:color/white"/>
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:top="-2dp" android:left="-2dp" android:right="-2dp">
<shape android:shape="rectangle">
<stroke android:width="1dp" android:color="@android:color/holo_green_light" />
<solid android:color="@android:color/white" />
</shape>
</item>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment