diff options
author | Linus Lee <llee@cyngn.com> | 2015-03-24 17:15:10 -0700 |
---|---|---|
committer | Rajesh Yengisetty <rajesh@cyngn.com> | 2015-04-02 00:56:43 +0000 |
commit | c8bed899e5ac84bbac52ae51b07f956e74cd7843 (patch) | |
tree | 11c849d031fa02162471b3aa1df40e6e9a9df77b /res/layout/scrub_layout.xml | |
parent | 3357153e90330d95eeec0efd115c100654a8a7bb (diff) | |
download | android_packages_apps_Trebuchet-c8bed899e5ac84bbac52ae51b07f956e74cd7843.tar.gz android_packages_apps_Trebuchet-c8bed899e5ac84bbac52ae51b07f956e74cd7843.tar.bz2 android_packages_apps_Trebuchet-c8bed899e5ac84bbac52ae51b07f956e74cd7843.zip |
App drawer: add animations and letters to make things pretty
Change-Id: Iaf6718893e09df715b4524b864be9a7c22addc59
(cherry picked from commit e002b691b3233629598c77ef50f1ef91eb1877f0)
Diffstat (limited to 'res/layout/scrub_layout.xml')
-rw-r--r-- | res/layout/scrub_layout.xml | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/res/layout/scrub_layout.xml b/res/layout/scrub_layout.xml index 90a9d094d..11ee381d0 100644 --- a/res/layout/scrub_layout.xml +++ b/res/layout/scrub_layout.xml @@ -14,31 +14,31 @@ See the License for the specific language governing permissions and limitations under the License. --> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/app_drawer_scrubber_container" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@drawable/seek_back" - android:layout_alignParentBottom="true"> + android:layout_height="@dimen/scrubber_height" + android:paddingLeft="@dimen/app_drawer_scrubber_padding" + android:paddingRight="@dimen/app_drawer_scrubber_padding" + android:layout_alignParentBottom="true" + android:background="@drawable/seek_back"> - <LinearLayout - android:clickable="true" - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_marginLeft="20dp" - android:layout_marginRight="20dp" - android:layout_height="@dimen/scrubber_height"> - - <SeekBar - android:id="@+id/scrubber" - android:paddingLeft="0dp" - android:paddingRight="0dp" - android:thumb="@android:color/transparent" - android:progressDrawable="@drawable/empty_seek_bar" - android:layout_width="match_parent" - android:layout_gravity="center" - android:layout_height="match_parent" /> + <com.android.launcher3.AutoExpandTextView + android:id="@+id/scrubberText" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:textColor="@android:color/white" + android:maxLines="1" + android:lines="1" + android:textSize="8sp" /> - </LinearLayout> + <SeekBar + android:id="@+id/scrubber" + android:thumb="@android:color/transparent" + android:progressDrawable="@android:color/transparent" + android:layout_width="match_parent" + android:layout_gravity="center" + android:layout_height="match_parent" /> -</RelativeLayout> +</FrameLayout> |