1

im making some changes to launcher2 like somepeople, well im triying to change the hotseat bar position to top instead bottom, i hide the notification bar on android manifest then i use the margin and gravity atributes on launcher.xml for moving the hotseat but only can move to the right or left not top, i hope someone can help me.

thats the code:

<include
    android:id="@+id/dock_divider"
    layout="@layout/workspace_divider"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:layout_marginLeft="@dimen/button_bar_height"
    android:layout_gravity="top"/>


<include layout="@layout/hotseat"
    android:id="@+id/hotseat"
    android:layout_width="@dimen/button_bar_height_plus_padding"
    android:layout_height="match_parent"
    android:layout_gravity="top"/>

thanks for readme!!

4

0 回答 0