とのdivider
間にを表示するこの xml ファイルがあります。TextView
Button
holoeverywhere
ライブラリを使用しています。
このコードを使用すると、除算は表示されません
<org.holoeverywhere.widget.LinearLayout
xmlns:holo="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/topcontainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
holo:divider="?attr/dividerVertical"
holo:dividerPadding="8dp"
android:orientation="horizontal"
holo:showDividers="middle" >
<org.holoeverywhere.widget.TextView
android:id="@+id/textView6"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="@string/str1" />
<org.holoeverywhere.widget.Button
android:id="@+id/add"
style="?attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="ADD" />
</org.holoeverywhere.widget.LinearLayout>
今問題はこれらの属性にありますLinearLayout
holo:divider="?attr/dividerVertical"
holo:dividerPadding="8dp"
holo:showDividers="middle"
namespace
これらの属性をこのように変更するandroid
と、機能し、仕切りが表示されます。
なにか提案を