Skip to content

Instantly share code, notes, and snippets.

@ShawnSWu
Created August 31, 2017 10:17
Show Gist options
  • Select an option

  • Save ShawnSWu/dac390b85d4ede23a777c80276cb4a09 to your computer and use it in GitHub Desktop.

Select an option

Save ShawnSWu/dac390b85d4ede23a777c80276cb4a09 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/folderPath_horizontalScrollView"
android:layout_width="match_parent"
android:layout_height="@dimen/actionbar_height"
android:fadeScrollbars="false"
android:fillViewport="true"
android:scrollbarThumbHorizontal="@drawable/folder_path_scrollbar_thumb"
android:splitMotionEvents="false">
<LinearLayout
android:id="@+id/folderPath_folder_path"
android:layout_width="wrap_content"
android:layout_height="@dimen/actionbar_height"
android:gravity="center_vertical"
android:orientation="horizontal"
android:background="@color/blue_B500"
android:splitMotionEvents="false" >
<FrameLayout
android:id="@+id/chat_search"
android:layout_width="@dimen/actionbar_height"
android:layout_height="@dimen/actionbar_height"
android:background="?actionBarItemBackground">
<View
android:layout_width="@dimen/_1dp"
android:layout_height="match_parent"
android:background="@drawable/divider_line" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:contentDescription="@string/Common_003"
app:srcCompat="@drawable/ic_search" />
</FrameLayout>
</LinearLayout>
</HorizontalScrollView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment