android - Newbie here! How to create a detail page activity for a list view item, without including an action bar in it? Help required -
i need create detail page activity open on clicking list view item. want no action-bar in layout , there image starts on top , ends @ middle , have button on top left corner.
there 2 ways hide actionbar in activity. first programmatically example in oncreate() method in activity don't want have actionbar:
actionbar actionbar = getactionbar(); or getsupportactionbar(); actionbar.hide();
and second way xml in android manifest xml-file example:
<activity android:name=".detailsactivity" android:label="@string/app_name" android:theme="@android:style/theme.notitlebar"> <!--or android:theme="@android:style/theme.noactionbar">--> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity>
Comments
Post a Comment