I want to see that the definition of a divider is vertical, I don’t know exactly what the attribute value means, but when you go to the attribute definition in intellij, I go to attrs.xml and show the following, which does not help.
<attr name="dividerVertical" format="reference" />
My specific problem is that I am trying to create an insert list delimited list with the dividerVertical attribute. To do this, I defined my own insertion form.
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:insetLeft="30dip"
android:insetRight="30dip">
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="?android:attr/dividerVertical"/>
</shape>
</inset>
This does not work, as android will not accept "? Android: attr / dividerVertical" as the color. In any case, this will not work, since the vertical vertical has an alpha component, so I need to know what color and transparency are the vertical dividers? But ideally, Id would like to know how I can check the source of any resource components in android so that I never run into this problem again.
thanks
Pier
source
share