大约有 40,000 项符合查询结果(耗时:0.0304秒) [XML]
ExpandableListView - hide indicator for groups with no children
...for all items
getExpandableListView().setGroupIndicator(null);
In xml
android:groupIndicator="@null"
share
|
improve this answer
|
follow
|
...
What is the best IDE to develop Android apps in? [closed]
I am about to start developing an android app and need to get an IDE. Eclipse and the android eclipse plugin appears to be the natural choice. However I am familiar with intelliJ and re-sharper so I would prefer use intelliJ.
...
Install shows error in console: INSTALL FAILED CONFLICTING PROVIDER
I am experimenting with the NotesList sample program in the Android SDK. I've made a slight variation in the program, but when I install my edited version I keep getting the message INSTALL_FAILED_CONFLICTING_PROVIDER in the console when I try to install it when the original notes program is already...
How to Apply Corner Radius to LinearLayout
...der. Call it, for example, shape.xml
In shape.xml:
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<solid
android:color="#888888" >
</solid>
<stroke
android:width="2dp"
android:colo...
Android – Listen For Incoming SMS Messages
... // TODO Auto-generated method stub
if(intent.getAction().equals("android.provider.Telephony.SMS_RECEIVED")){
Bundle bundle = intent.getExtras(); //---get the SMS message passed in---
SmsMessage[] msgs = null;
String msg_from;
if (bu...
Gradle, Android and the ANDROID_HOME SDK location
...
sdk.dir=/my_current_path_to/sdk
In the console I need to do
set ANDROID_HOME=/my_current_path_to/sdk
Hope this helps.
share
|
improve this answer
|
follow
...
Android app in Eclipse: Edit text not showing on Graphical layout
I am trying to add a text field onto my Android app in Eclipse, but then I drag the Plain text option on to the graphical layout, a message at the bottom comes up. It reads
Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V
Exception details are logged in Window > Show Vie...
Dialog with transparent background in Android
How do I remove the black background from a dialog box in Android. The pic shows the problem.
20 Answers
...
How do I remove lines between ListViews on Android?
...istView().setDivider(null);
getListView().setDividerHeight(0);
developer.android.com # ListView
Or, if you want to do it in XML:
android:divider="@null"
android:dividerHeight="0dp"
share
|
impr...
Fit Image in ImageButton in Android
...
I want them to cover 75% of the button area.
Use android:padding="20dp" (adjust the padding as needed) to control how much the image takes up on the button.
but where as some images cover less area, some are too big to fit into the imageButton. How to programatically re...