PagerSlidingTabStrip NullPointerException when setting ViewPager - android

I'm trying to implement PagerSlidingTabStrip in my app. I did everything I'm supposed to do:
Added it to my XML:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<android.support.v4.view.ViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="#+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.astuetz.PagerSlidingTabStrip
android:id="#+id/slidingTabs"
android:layout_width="match_parent"
android:layout_height="48dip" />
</RelativeLayout>
Created PagerSlidingTabStrip and tried to set ViewPager:
PagerSlidingTabStrip slidingTabStrip = (PagerSlidingTabStrip) findViewById(R.id.slidingTabs);
slidingTabStrip.setViewPager(vPager);
But when I run the app, it crashes and this is the logcat output:
04-17 20:56:55.956: E/AndroidRuntime(1587): FATAL EXCEPTION: main
04-17 20:56:55.956: E/AndroidRuntime(1587): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.matejhacin.beautifulvoicerecorder/com.matejhacin.beautifulvoicerecorder.MainActivity}: java.lang.NullPointerException
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.app.ActivityThread.access$600(ActivityThread.java:141)
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.os.Handler.dispatchMessage(Handler.java:99)
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.os.Looper.loop(Looper.java:137)
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.app.ActivityThread.main(ActivityThread.java:5103)
04-17 20:56:55.956: E/AndroidRuntime(1587): at java.lang.reflect.Method.invokeNative(Native Method)
04-17 20:56:55.956: E/AndroidRuntime(1587): at java.lang.reflect.Method.invoke(Method.java:525)
04-17 20:56:55.956: E/AndroidRuntime(1587): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
04-17 20:56:55.956: E/AndroidRuntime(1587): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
04-17 20:56:55.956: E/AndroidRuntime(1587): at dalvik.system.NativeStart.main(Native Method)
04-17 20:56:55.956: E/AndroidRuntime(1587): Caused by: java.lang.NullPointerException
04-17 20:56:55.956: E/AndroidRuntime(1587): at com.astuetz.PagerSlidingTabStrip.notifyDataSetChanged(PagerSlidingTabStrip.java:200)
04-17 20:56:55.956: E/AndroidRuntime(1587): at com.astuetz.PagerSlidingTabStrip.setViewPager(PagerSlidingTabStrip.java:182)
04-17 20:56:55.956: E/AndroidRuntime(1587): at com.matejhacin.beautifulvoicerecorder.MainActivity.onCreate(MainActivity.java:39)
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.app.Activity.performCreate(Activity.java:5133)
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
04-17 20:56:55.956: E/AndroidRuntime(1587): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)

The error isn't handled nicely in this library. If you look at the source of PagerAdapter you will see a method getPageTitle:
https://github.com/android/platform_frameworks_support/blob/master/v4/java/android/support/v4/view/PagerAdapter.java#L306-Lundefined
Notice that by default it returns null. This is why you are seeing a null pointer exception. The solution is to override this method in your implementation of PagerAdapter
#Override
public CharSequence getPageTitle(int position) {
// return the title of the tab
}
If you don't actually want a string title, and you want the tab to use a custom view, such as an image, then your PagerAdapter has to implement PagerSlidingTabStrip.TabCustomViewProvider and override getPageTabCustomView
#Override
public View getPageTabCustomView(int position) {
// return a custom view
}
EDIT: In order to use the custom tab view, you will need to use this fork:
https://github.com/astuetz/PagerSlidingTabStrip/pull/32

Caused by: java.lang.NullPointerException
at com.astuetz.PagerSlidingTabStrip.notifyDataSetChanged(PagerSlidingTabStrip.java:200)
You're throwing a NullPointerException on line 200 in PagerSlidingTabStrip.
This indicates that PagerAdapter.getPageTitle is returning null.

You should override your adapters getPageTitle method because it is returning null
#Override
public CharSequence getPageTitle(int position)
{
return tabTitles[position];
}

Related

error when try using zxing library

i want to have barcode scanner on my android application.I try to follow intruction from this Using ZXing to create an android barcode scanning app and looking good because i've barcodeScanner app being installed on my phone that i wasnt realize before. when i try to another phone when i want to scan barcode it ask me to download barcodeScanner. my issue is like this thread Embed Zxing library without using Barcode Scanner app and follow instruction.but i got an error in this line super.onResume();.here is my error logcat
04-17 16:00:51.735: E/AndroidRuntime(6138): FATAL EXCEPTION: main
04-17 16:00:51.735: E/AndroidRuntime(6138): java.lang.RuntimeException: Unable to resume activity {ims.app.salesmarket/ims.app.salesmarket.EntryTO}: java.lang.NullPointerException
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2595)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2623)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2109)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.app.ActivityThread.access$600(ActivityThread.java:134)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.os.Handler.dispatchMessage(Handler.java:99)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.os.Looper.loop(Looper.java:154)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.app.ActivityThread.main(ActivityThread.java:4624)
04-17 16:00:51.735: E/AndroidRuntime(6138): at java.lang.reflect.Method.invokeNative(Native Method)
04-17 16:00:51.735: E/AndroidRuntime(6138): at java.lang.reflect.Method.invoke(Method.java:511)
04-17 16:00:51.735: E/AndroidRuntime(6138): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809)
04-17 16:00:51.735: E/AndroidRuntime(6138): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
04-17 16:00:51.735: E/AndroidRuntime(6138): at dalvik.system.NativeStart.main(Native Method)
04-17 16:00:51.735: E/AndroidRuntime(6138): Caused by: java.lang.NullPointerException
04-17 16:00:51.735: E/AndroidRuntime(6138): at com.google.zxing.client.android.CaptureActivity.onResume(CaptureActivity.java:163)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1159)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.app.Activity.performResume(Activity.java:4553)
04-17 16:00:51.735: E/AndroidRuntime(6138): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2581)
04-17 16:00:51.735: E/AndroidRuntime(6138): ... 12 more
how do i fix them?
every help will be apriciated.thank you for your kindness.
I had faced the same problem. I tried to fix it by a couple of ways, and both of them eventually worked!!
Go to onResume() at CaptureActivity.java. Comment the whole function except the line super.onResume(). Next, add the following lines into your activity:
#Override
public void onResume(){
super.onResume();
}
You could use the example from this link - http://khurramitdeveloper.blogspot.in/p/android-barcode-scan-using-zxing-library.html. It works for me without any hitch!

Set Actionbar overlay from SherlockFragment

I want to set ActionbarOverlay feature from within my SherlockFragment class.
Can any one please tell me, how can I do this?
I've tried by adding line getSherlockActivity().requestWindowFeature(Window.FEATURE_ACTION_MODE_OVERLAY); in OnCreateView method.
But it gives me Error:
04-17 12:19:35.789: E/AndroidRuntime(844): FATAL EXCEPTION: main
04-17 12:19:35.789: E/AndroidRuntime(844): android.util.AndroidRuntimeException: requestFeature() must be called before adding content
04-17 12:19:35.789: E/AndroidRuntime(844): at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:210)
04-17 12:19:35.789: E/AndroidRuntime(844): at com.oceans.sherelock.internal.ActionBarSherlockNative.requestFeature(ActionBarSherlockNative.java:97)
04-17 12:19:35.789: E/AndroidRuntime(844): at com.oceans.sherelock.app.SherlockFragmentActivity.requestWindowFeature(SherlockFragmentActivity.java:276)
04-17 12:19:35.789: E/AndroidRuntime(844): at com.wallpapermaker.keepcalm.UserProfile_NoBoringFragment.onCreateView(UserProfile_NoBoringFragment.java:92)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.support.v4.app.Fragment.performCreateView(Fragment.java:1500)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:938)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1115)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1478)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:446)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.os.Handler.handleCallback(Handler.java:605)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.os.Handler.dispatchMessage(Handler.java:92)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.os.Looper.loop(Looper.java:137)
04-17 12:19:35.789: E/AndroidRuntime(844): at android.app.ActivityThread.main(ActivityThread.java:4424)
04-17 12:19:35.789: E/AndroidRuntime(844): at java.lang.reflect.Method.invokeNative(Native Method)
04-17 12:19:35.789: E/AndroidRuntime(844): at java.lang.reflect.Method.invoke(Method.java:511)
04-17 12:19:35.789: E/AndroidRuntime(844): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
04-17 12:19:35.789: E/AndroidRuntime(844): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
04-17 12:19:35.789: E/AndroidRuntime(844): at dalvik.system.NativeStart.main(Native Method)
P.S. I can't set it from within Activity because I don't want overlay feature to be enabled for other Fragments in my Activity.
You Must Call before setContent called in your activity
getSherlockActivity().requestWindowFeature(Window.FEATURE_ACTION_MODE_OVERLAY);
put this before adding content view in your activity.
i hope it helps.
UPDATE
then extends first SherlockFragment in your Fragment
then put code in OnCreate method of Activity before calling setContentView method.
getSherlock().requestFeature(Window.FEATURE_ACTION_MODE_OVERLAY);
sorry my fault
check update again.

GoogleMap Support Fragment error

I have a project that uses the GoogleMaps API, and the support library for Fragments. I have a working map in one activity already, so I know that the API and library are all set up right. I am trying to add a map in a fragment as part of a new activity.
The activity extends an android.support.v4.app.FragmentActivity, and the xml file contains:
<fragment
android:id="#+id/map"
android:layout_width="match_parent"
android:layout_height="250dp"
android:name="com.google.android.gms.maps.SupportMapFragment" />
But when I run I get the error:
01-20 11:58:31.535: ERROR/AndroidRuntime(5389): FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable
at com.google.android.gms.maps.GoogleMapOptions.createFromAttributes(Unknown Source)
at com.google.android.gms.maps.SupportMapFragment.onInflate(Unknown Source)
at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:279)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:669)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:742)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:251)
at android.app.Activity.setContentView(Activity.java:1835)
at com.yedidyak.gpsalarm.AddAlarm.onCreate(AddAlarm.java:19)
at android.app.Activity.performCreate(Activity.java:4465)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
at android.app.ActivityThread.access$600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
All the information I can find about this error is about not having the google-play-lib properly installed both as a jar and an imported module, but I have that done - and a working map in another activity.
Any ideas?
You have to reference google play services library instead of adding jar and map_attrs.xml (and other files, like strings.xml) to your project.
If you do, you also might have deleted res/values/map_attrs.xml by accident.

Auto force close?

I having abit of problem here as when i saw somewhere with calculator codes and use it somehow the app always force close when i started keying in numbers. help?
public void onClickListener8(View v)
{
vibrator.vibrate(30);
if(press=='=')
{
onClickListenerReset(buttonClear);
}
eight=(String)button8.getText();
sum=sum+eight;
editText.setText(sum);
}
04-17 15:38:23.110: E/AndroidRuntime(678): FATAL EXCEPTION: main
04-17 15:38:23.110: E/AndroidRuntime(678): java.lang.IllegalStateException: Could not execute method of the activity
04-17 15:38:23.110: E/AndroidRuntime(678): at android.view.View$1.onClick(View.java:2144)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.view.View.performClick(View.java:2485)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.view.View$PerformClick.run(View.java:9080)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.os.Handler.handleCallback(Handler.java:587)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.os.Handler.dispatchMessage(Handler.java:92)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.os.Looper.loop(Looper.java:123)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.app.ActivityThread.main(ActivityThread.java:3683)
04-17 15:38:23.110: E/AndroidRuntime(678): at java.lang.reflect.Method.invokeNative(Native Method)
04-17 15:38:23.110: E/AndroidRuntime(678): at java.lang.reflect.Method.invoke(Method.java:507)
04-17 15:38:23.110: E/AndroidRuntime(678): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
04-17 15:38:23.110: E/AndroidRuntime(678): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
04-17 15:38:23.110: E/AndroidRuntime(678): at dalvik.system.NativeStart.main(Native Method)
04-17 15:38:23.110: E/AndroidRuntime(678): Caused by: java.lang.reflect.InvocationTargetException
04-17 15:38:23.110: E/AndroidRuntime(678): at java.lang.reflect.Method.invokeNative(Native Method)
04-17 15:38:23.110: E/AndroidRuntime(678): at java.lang.reflect.Method.invoke(Method.java:507)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.view.View$1.onClick(View.java:2139)
04-17 15:38:23.110: E/AndroidRuntime(678): ... 11 more
04-17 15:38:23.110: E/AndroidRuntime(678): Caused by: java.lang.SecurityException: Requires VIBRATE permission
04-17 15:38:23.110: E/AndroidRuntime(678): at android.os.Parcel.readException(Parcel.java:1322)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.os.Parcel.readException(Parcel.java:1276)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.os.IVibratorService$Stub$Proxy.vibrate(IVibratorService.java:106)
04-17 15:38:23.110: E/AndroidRuntime(678): at android.os.Vibrator.vibrate(Vibrator.java:52)
04-17 15:38:23.110: E/AndroidRuntime(678): at com.mypackage.Calculator.onClickListener8(Calculator.java:232)
04-17 15:38:23.110: E/AndroidRuntime(678): ... 14 more
Make sure your app has the Vibrate permission. The following line should be there in the manifest:
<uses-permission android:name="android.permission.VIBRATE"/>
I think you must be using an emulator. Just comment out the vibrate; somehow that's the cause of the issue.

Customize Android PreferenceFragment not working

Currently for my 2.x preference screens, in every PreferenceActivity I add the line setContentView(R.layout.activity_preferences); to have a custom layout in my activities.
The activity_preferences.xml layout file looks like this:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout style="#style/TitleBar">
<ImageButton style="#style/TitleBarAction"
android:src="#drawable/ic_title_home"
android:onClick="onHomeClick" />
<ImageView style="#style/TitleBarSeparator" />
<eu.vranckaert.worktime.utils.view.CustomTextView
style="#style/TitleBarText" android:text="#string/lbl_preferences_title"/>
</LinearLayout>
<ListView android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="#android:id/list"/>
</LinearLayout>
For my 3.x and up application I am building the preferences according to the example over here: http://developer.android.com/reference/android/preference/PreferenceActivity.html.
In order to apply the same layout to my 3.x app, I tried was to add the setContentView(..) in the 3.x PreferenceActivity.
Result on phone: this works fine on the first activity, then when loading a fragment (with the real preferences in them) my style is not applied
Result on tablet: crash:
ERROR/AndroidRuntime(2208): FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{eu.vranckaert.worktime/eu.vranckaert.worktime.activities.preferences.PreferencesICSActivity}: java.lang.IllegalArgumentException: No view found for id 0x10202d4 for fragment TimeRegistrationsPreferencesFragment{4101ed38 #0 id=0x10202d4}
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
at android.app.ActivityThread.access$600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: No view found for id 0x10202d4 for fragment TimeRegistrationsPreferencesFragment{4101ed38 #0 id=0x10202d4}
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:822)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
at android.app.BackStackRecord.run(BackStackRecord.java:622)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1382)
at android.app.Activity.performStart(Activity.java:4474)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1929)
... 11 more
When I try to apply the layout file on my fragments using getActivity().setContentView(R.layout.activity_preferences); the result is:
for phone: the activity is still shown fine, when going into a category it crashes:
ERROR/AndroidRuntime(1320): FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{eu.vranckaert.worktime/eu.vranckaert.worktime.activities.preferences.PreferencesICSActivity}: java.lang.IllegalArgumentException: No view found for id 0x10202d4 for fragment DateTimePreferencesFragment{412a0d78 #0 id=0x10202d4}
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
at android.app.ActivityThread.access$600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: No view found for id 0x10202d4 for fragment TimeRegistrationsPreferencesFragment{412a0d78 #0 id=0x10202d4}
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:822)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
at android.app.BackStackRecord.run(BackStackRecord.java:622)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1382)
at android.app.Activity.performStart(Activity.java:4474)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1929)
... 11 more
for tablet: same crash as before...
How should I apply this layout file to my fragment activity...? Or should I create a new layout file?

Categories

Resources