To ExpandableListView When there is an arrow icon, the system comes with a custom layout that you can't remove. Just set a property , as follows :

settingLists.setGroupIndicator(null);  ~~~~~~~~~~~~~~~~~ Here is how to set up a custom arrow icon . If it's empty, it's gone .

You can also customize it ( But the location is still in that place, not recommended ) as follows :

First , Customize a expandablelistviewselector.xml file , The details are as follows :
Java Code

<?xml version="1.0" encoding="utf-8"?>

<selector xmlns:android="http://schemas.android.com/apk/res/android">

<item android:state_expanded="true" android:drawable="@drawable/expandablelistviewindicatordown" />

<item android:drawable="@drawable/expandablelistviewindicator" />

</selector>

Add a code as follows :

settingLists.setGroupIndicator(this.getResources().getDrawable(R.layout.expandablelistviewselector));

Be accomplished

Get rid of ExpandableListView More related articles about the arrow icon of

  1. Baidu map click on the map to show the default method of address details how to close , Remove Baidu map api Icon information

    Remove Baidu map api Icon information Call Baidu map API when , If you want to get rid of Baidu's logo, Only need css Set in the : <style> .anchorBL{display:none} </style&g ...

  2. html Customize the vertical navigation menu ( Multi level navigation menu , Get rid of font-awesome Icon , Add your own arrow icon )

    This time in the original html A big change has been made based on the custom vertical navigation menu : 1. Removed font-awesome Icon , The arrow on the right side of the superior menu is for your own use css Written , Specific reference <css The triangle arrow >. 2. Removed initialization ...

  3. ExpandableListView( Two ) The replacement arrow icon is stretched

    I've written an article about replacing the default system icon before , And then there was the problem , When you replace it with your own picture , The picture is stretched ! To solve this problem , I've tried almost everything , The results are not ideal The way I tried , In the layout , hold textview Content font on ...

  4. CSS-- Use the pseudo selector to make arrow icons

    // Use Transform Properties of , Combine translate( Displacement ) and rotate( rotate ), Combine the generated small rectangles into various arrow styles : HTML <section class="main&quo ...

  5. android Medium ExpandableListView Cancel the first level icon

    mainlistview = (ExpandableListView) view.findViewById(R.id.listview_myteacher); mainlistview.setGrou ...

  6. Get rid of win10 Desktop icons

    Reference resources :http://bbs.kafan.cn/thread-1843802-1-1.html

  7. echarts Remove the little icon on top

    stay option Found in toolbox, Delete the corresponding code : toolbox: { y : -30, show : true, feature : { mark : ' Auxiliary line switch ', markUndo : ...

  8. input type by number Remove the small up and down arrows

    <input type="number" ...> <style> input::-webkit-outer-spin-button, input::-we ...

  9. Win7 Remove the desktop icons, small arrows

    Get rid of win7 The little arrow of the shortcut to : Every time we install a piece of software , When creating a shortcut on the desktop, there is always a small arrow , Some friends find it very annoying , How to get rid of this little arrow ? Click the start icon - The attachment - Command prompt ( There's a hint , Please right click to use ...

Random recommendation

  1. How to tile small texture image onto page as its background

    You don’t need to set a big size image as the background of pages if the image is texture or uniform ...

  2. CSS Common layout arrangement ( Two )

    1-2-1 Single column widening layout side Column width 300px,content The columns get wider , The size is 100%-300px. The core problem is that the width of the floating column should be equal to “100% - 300px”, and CSS Obviously this kind of... With subtraction is not supported ...

  3. Cordova+angularjs+ionic+vs2015 Development ( 3、 ... and )

    Welcome to study in groups :457351423  Here you are 4000 Multiple learning videos , Covering all kinds of technologies , Welcome to study in group if you need ! One . Foundation setup 1. modify App Name and program start page open config.xml The configuration file is shown below , stay [ Universal ] choose ...

  4. Android Development solve AlertDialog Medium EditText Unable to call up input method

    stay AlertDialog Use custom View, If View There is EditText, Click on , The default is not to jump out of the soft keyboard , It's not the focus . resolvent , There are two kinds of , One is to put the AlertDialog Switch to Dialog, But this ...

  5. Lao Li shares :DBA

    poptest It is the only training institution in China to train test and development engineers , Students are competent for automated testing , Performance testing , Test tool development and other work as the goal . If you're interested in the course , Please consult qq:908821478, Telephone number for consultation 010-845052 ...

  6. Web The presentation layer

    Catalog Web The presentation layer calls the procedure ... 2 Delay ... 3 What is delay ... 3 The composition of delay ... 3 The most basic optimization idea :... 4 Web Performance optimization of presentation layer ... 4 Web Basic indicators of performance ... 4 Web sex ...

  7. asp.net mvc Areas Master page dynamically gets data for rendering

    We often need to extract some common page elements to make a master page , But the elements here are generally basic elements , I.e. not required Basic data for background data exchange , But for some data that needs to be queried through the background , How should we pass it to the master page of the foreground Here's a description of ...

  8. centos6.5 Interesting but useless linux command

    puddle jumper get http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-rele ...

  9. Python3 In version filter function ,map Functions and reduce function

    One .filter function : filter() Call the given Boolean function... For each element of a known sequence , in call , Elements with non-zero return values are added to a list def f1(x): if x>20: return True ...

  10. Higher position :Java Sub business 、 Implement custom log printing at different levels

    Custom log level A common logging framework has the following levels , From low to high TRACE,DEBUG,INFO,WARN,ERROR,FATAL. By default , If we define the log print level INFO, It will make greater than or equal to INFO Level day ...