Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Android

0 votes
491 views
1 answer
    How would I override a Dialog's onBackPressed to close the dialog as well as calling finish() on the Activity it is located in? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
477 views
1 answer
    native English speaker, so I'd say sorry about my bad English skills to you guys. I've been studing Android since 5 weeks ... .show(); } }); } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
609 views
1 answer
    I was trying the following code and was getting an error because there is no such constructor defined. View v = ... copy a view into another? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
305 views
1 answer
    I am trying to implement listener bindings, but when I run my code I get the following error: Caused ... :mockito-android:$mockito_version" } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
279 views
1 answer
    <FrameLayout android:id="@+id/content_frame" android:layout_width="match_parent" android:layout_height="match_parent" /> < ... (Main.java:1414) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Here is my layout, using android.support.v7.widget.SearchView. I want to move the search icon to the right ... it will change to this layout See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
508 views
1 answer
    I want to open bluetooth settings on button click like this see image HomeActivity.java button.setOnClickListener(new ... ); } }); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
379 views
1 answer
    I'm trying to migrate a project to Gradle, but I get an exception raised everytime I run the command gradle build --stacktrace ... = ['assets'] } } } And all LibProject# > b...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
643 views
1 answer
    I have got an EditText looking like this (with "bottom gravity"): When I press the EditText, the keyboard ... MOVE UPWARDS layout.addView(et); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
559 views
1 answer
    I'm using the new Dagger2 (ver 2.11) and I'm using the new features like AndroidInjector, and ... any way to do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
612 views
1 answer
    Would anyone know how to test for the appearance of a Toast message on an Activity? I'm using code ... toast messages on particular activities. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
400 views
1 answer
    This DialogFragment implementation causes an IllegalStateException( "You can not set Dialog's OnCancelListener or ... 's wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
435 views
1 answer
    When I run the following code: public class ActivityTest extends ActivityInstrumentationTestCase2<MainActivity> { .... public ... 's going on? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I want to add 10dp margin between EditText and Soft Keyboard. Here is my XML: <RelativeLayout android:id= ... ", but nothing happened. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
313 views
1 answer
    I am new Android coder and I have problem with requesting updates for my localization. I working with tutorials ... explanation how it works. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
333 views
1 answer
    I'm trying to use IntelliJ IDEA to work on an Android app with a colleague that swears by it, but I'm ... I feel I'm missing something basic. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
453 views
1 answer
    I've spent the past two hours debugging what seems extremely unlikely. I've stripped the method of a secondary ... sanity is on the line. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
733 views
1 answer
    I don't understand this error message C:Program Files (x86)Jenkinsworkspace\__temp-mobile-prevplatformsandroidAndroidManifest. ... the problem. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
281 views
1 answer
    As in, can the ELEMENTS of a ListView be Fragments. I know that you can assign a TextView XML to a ... done in case anyone is wondering. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
527 views
1 answer
    I'm using Android Studio 2.2 Preview 7, and the Lombok plugin suddenly started saying: Annotation processing seems to ... is the fix for this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
473 views
1 answer
    In java we regularly combine flags via the | operator. e.g. getWindow().getDecorView().setSystemUiVisibility( View ... integer flags in Kotlin? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
640 views
1 answer
    My layout file defines a WebView, underneath which there are some fixed height buttons. <?xml version="1.0" ... ="fill_parent"/> </LinearLayout> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
507 views
1 answer
    I have to an android application in which I need to convert the current date to the number of seconds passed ... not giving me correct results. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
624 views
1 answer
    Is it possible to enable-disable swiping in new android viewpager2 component? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
379 views
1 answer
    A question aimed at Android 4.0.x preferably. I want to detect immediately, or after a few seconds, any change ... What am I doing wrong here? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
376 views
1 answer
    I load an image into a bitmap and need to know the orientation of the taken picture (from ... exif.getAttribute(ExifInterface.TAG_ORIENTATION); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
309 views
1 answer
    I want to encrypt/decrypt some passwords in the SQLite database of my application. To do that I have searched on ... key. Thank you very much! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
393 views
1 answer
    I am working on an android application. I have created a listview by using setListAdapter(new ArrayAdapter<String> ... .please help me friends See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...