change row dimensions from dip to sp

sp is a scaleable dimension and respects the user font size
This commit is contained in:
Adrian Ulrich committed 2015-09-14 20:46:46 +02:00
1 parent 3cfb1633fb
commit 776385e6e2
2 files changed
+11 -11

No files matched your search

+6 -6
View File
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/pmark"
android:visibility="gone"
android:layout_width="4dip"
android:layout_height="44dip"
android:layout_height="44sp"
android:background="@color/now_playing_marker" />
<ch.blinkenlights.android.vanilla.LazyCoverView
@@ -41,8 +41,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:background="?android:attr/selectableItemBackground"
android:longClickable="true"
android:scaleType="fitCenter"
android:layout_width="44dip"
android:layout_height="44dip" />
android:layout_width="44sp"
android:layout_height="44sp" />
<TextView
android:id="@+id/text"
@@ -62,15 +62,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
android:gravity="center_vertical"
android:layout_height="match_parent"
android:layout_width="44dip"/>
android:layout_width="44sp"/>
<ImageView
android:id="@+id/dragger"
android:visibility="gone"
android:scaleType="center"
android:src="@drawable/grabber"
android:layout_width="44dip"
android:layout_height="44dip" />
android:layout_width="44sp"
android:layout_height="44sp" />
</LinearLayout>
<View
+5 -5
View File
@@ -30,8 +30,8 @@ THE SOFTWARE.
android:background="?android:attr/selectableItemBackground"
android:longClickable="true"
android:scaleType="fitCenter"
android:layout_width="44dip"
android:layout_height="44dip"
android:layout_width="44sp"
android:layout_height="44sp"
android:visibility="gone"
/>
<TextView
@@ -43,7 +43,7 @@ THE SOFTWARE.
android:textColor="?android:textColorPrimary"
android:gravity="left|center_vertical"
android:layout_width="0px"
android:layout_height="44dip"
android:layout_height="44sp"
android:layout_weight="1" />
<View
android:id="@+id/divider"
@@ -57,8 +57,8 @@ THE SOFTWARE.
android:longClickable="true"
android:scaleType="center"
android:src="@drawable/arrow"
android:layout_width="44dip"
android:layout_height="44dip"
android:layout_width="44sp"
android:layout_height="44sp"
android:visibility="gone"
android:contentDescription="@string/expand" />
</LinearLayout>