[Sony Cross-Device Development Themes and Apps] kin201303:
work my note5 NN7.0

navigation_layout.xml

<?xml version="1.0" encoding="utf-8"?>

<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layoutDirection="ltr"

xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res-auto">

<com.tomatolei.systemui.statusbar.navbuttonsbg.CustomBg android:layout_width="fill_parent" android:layout_height="fill_parent" />

<HorizontalScrollView android:background="#00000000" android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content">

<LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content">

<FrameLayout android:id="@id/nav_buttons" android:layout_width="1070.0px" android:layout_height="35.0dip">

<LinearLayout android:orientation="horizontal" android:id="@id/ends_group" android:clipChildren="false" android:layout_width="fill_parent" android:layout_height="fill_parent" />

<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/center_group" android:background="#000000fa" android:clipChildren="false" android:layout_width="fill_parent" android:layout_height="fill_parent" />

<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/nav_bar_widget" android:clipChildren="false" android:layout_width="fill_parent" android:layout_height="fill_parent" />

</FrameLayout>

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaStop" android:layout_width="48.0dip" android:layout_height="35.0dip" android:src="@drawable/ic_sysbar_stop" android:scaleType="center" android:layout_weight="0.0" android:layout_marginStart="0.0dip" android:layout_marginEnd="25.0dip" systemui:keyCode="86" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaBackTrack" android:layout_width="48.0dip" android:layout_height="35.0dip" android:src="@drawable/ic_sysbar_playback" android:scaleType="center" android:layout_weight="0.0" android:layout_marginEnd="25.0dip" systemui:keyCode="88" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaPlayPause" android:layout_width="48.0dip" android:layout_height="35.0dip" android:src="@drawable/ic_sysbar_play" android:scaleType="center" android:layout_weight="0.0" android:layout_marginEnd="25.0dip" systemui:keyCode="85" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaForwardTrack" android:layout_width="48.0dip" android:layout_height="35.0dip" android:src="@drawable/ic_sysbar_forward" android:scaleType="center" android:layout_weight="0.0" android:layout_marginEnd="25.0dip" systemui:keyCode="87" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaPower" android:layout_width="48.0dip" android:layout_height="35.0dip" android:src="@drawable/ic_sysbar_lock" android:scaleType="center" android:layout_weight="0.0" android:layout_marginEnd="10.0dip" systemui:keyCode="26" />

</LinearLayout>

</HorizontalScrollView>

<com.android.systemui.statusbar.policy.DeadZone android:layout_gravity="top" android:id="@id/deadzone" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:minSize="@dimen/navigation_bar_deadzone_size" systemui:maxSize="@dimen/navigation_bar_deadzone_size_max" systemui:holdTime="@integer/navigation_bar_deadzone_hold" systemui:decayTime="@integer/navigation_bar_deadzone_decay" systemui:orientation="horizontal" />

</FrameLayout>

navigation_layout_rot90.xml

<?xml version="1.0" encoding="utf-8"?>

<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"

xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res-auto">

<com.tomatolei.systemui.statusbar.navbuttonsbg.CustomBg android:layout_width="fill_parent" android:layout_height="fill_parent" />

<ScrollView android:background="#00000000" android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content">

<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">

<FrameLayout android:id="@id/nav_buttons" android:layout_width="0.0dip" android:layout_height="0.0dip">

<com.android.systemui.statusbar.phone.ReverseLinearLayout android:orientation="vertical" android:id="@id/ends_group" android:clipChildren="false" android:layout_width="fill_parent" android:layout_height="fill_parent" />

<com.android.systemui.statusbar.phone.ReverseLinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/center_group" android:clipChildren="false" android:layout_width="fill_parent" android:layout_height="fill_parent" />

<com.android.systemui.statusbar.phone.ReverseLinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/nav_bar_widget" android:clipChildren="false" android:layout_width="fill_parent" android:layout_height="fill_parent" />

</FrameLayout>

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@null" android:layout_width="48.0dip" android:layout_height="35.0dip" android:layout_marginTop="90.0dip" android:src="@drawable/ic_sysbar_back" android:scaleType="center" android:layout_weight="0.0" systemui:keyCode="4" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@null" android:layout_width="48.0dip" android:layout_height="35.0dip" android:layout_marginTop="35.0dip" android:src="@drawable/ic_sysbar_home" android:scaleType="center" android:layout_weight="0.0" systemui:keyCode="3" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@null" android:layout_width="48.0dip" android:layout_height="35.0dip" android:layout_marginTop="35.0dip" android:src="@drawable/ic_sysbar_recent" android:scaleType="center" android:layout_weight="0.0" systemui:keyCode="187" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaPower" android:layout_width="48.0dip" android:layout_height="35.0dip" android:layout_marginTop="90.0dip" android:src="@drawable/ic_sysbar_lock" android:scaleType="center" android:layout_weight="0.0" systemui:keyCode="26" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaBackTrack" android:layout_width="48.0dip" android:layout_height="35.0dip" android:layout_marginTop="35.0dip" android:src="@drawable/ic_sysbar_playback" android:scaleType="center" android:layout_weight="0.0" systemui:keyCode="88" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaPlayPause" android:layout_width="48.0dip" android:layout_height="35.0dip" android:layout_marginTop="35.0dip" android:src="@drawable/ic_sysbar_play" android:scaleType="center" android:layout_weight="0.0" systemui:keyCode="85" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaForwardTrack" android:layout_width="48.0dip" android:layout_height="35.0dip" android:layout_marginTop="35.0dip" android:src="@drawable/ic_sysbar_forward" android:scaleType="center" android:layout_weight="0.0" systemui:keyCode="87" />

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/CocoyayaStop" android:layout_width="48.0dip" android:layout_height="35.0dip" android:layout_marginTop="35.0dip" android:layout_marginBottom="20.0dip" android:src="@drawable/ic_sysbar_stop" android:scaleType="center" android:layout_weight="0.0" systemui:keyCode="86" />

</LinearLayout>

</ScrollView>

<com.android.systemui.statusbar.policy.DeadZone android:layout_gravity="top" android:id="@id/deadzone" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:minSize="@dimen/navigation_bar_deadzone_size" systemui:maxSize="@dimen/navigation_bar_deadzone_size_max" systemui:holdTime="@integer/navigation_bar_deadzone_hold" systemui:decayTime="@integer/navigation_bar_deadzone_decay" systemui:orientation="vertical" />

</FrameLayout>