我是 Android 开发的超级新手,想从第 3 方启动器的图标主题开始。我想知道是否有任何方法可以将图像(从我的“drawable”文件夹中)添加到“strings.xml”中的字符串中
这就是我所拥有的:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme properties -->
<bool name="enableIconPack">true</bool>
<bool name="enableDockPack">false</bool>
<string name="authorName">Clay Cauley</string>
<string name="developerName">Clay Cauley</string>
<string name="authorLink">MY SITE</string>
<string name="theme_title">MY TITLE</string>
<string name="theme_description">This is some text explaining who created the theme and why, etc ... This is also where I would like my logo to appear.</string>
</resources>
我的问题在于最后一个字符串“theme_description”——如果可能的话,我想把我的标志放在那里,以便人们在这个屏幕上看到它:
希望能把它放在“嘿”当前所在的位置。
我尝试了 2-3 种不同的方法,但它们都是猜测,没有一个有效,所以我想我会在这里尝试。非常感谢任何帮助,即使它告诉我这是不可能的:)
这是我的“main.xml”
<?xml version="1.0" encoding="utf-8"?>
<GridView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gridview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:columnWidth="65dp"
android:gravity="center"
android:horizontalSpacing="1dp"
android:listSelector="#000000"
android:background="#000000"
android:numColumns="3"
android:scrollbars="none"
android:stretchMode="columnWidth"
android:verticalSpacing="-1dp" >
</GridView>
谢谢!