[Solved] How to implement smart bar in Android app? [closed]
Create XML Layout <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” tools:context=”.MainActivity” > <LinearLayout android:id=”@+id/menu” android:layout_width=”match_parent” android:layout_height=”fill_parent” android:background=”#51d7ff” android:orientation=”vertical” > <ListView android:id=”@+id/ListView01″ android:layout_width=”match_parent” android:layout_height=”wrap_content” android:background=”#51d7ff” android:cacheColorHint=”#51d7ff” > </ListView> </LinearLayout> <LinearLayout android:id=”@+id/app” android:layout_width=”match_parent” android:layout_height=”fill_parent” android:background=”#033333″ android:orientation=”vertical” > <Button android:id=”@+id/BtnSlide” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:background=”@drawable/menu” /> <ListView android:id=”@+id/list” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:background=”#758fb1″ android:cacheColorHint=”#758fb1″ > </ListView> </LinearLayout> Main Activity public class MainActivity extends Activity … Read more