Eclipse如何替換android應用表徵圖

來源:互聯網
上載者:User

標籤:src   lips   總結   img   技術   cat   目錄   icon   log   

開啟你的項目

 

 

我們看到項目裡有 res這個檔案夾裡有以下檔案夾。

  drawable-hdpi     -------高解析度

      drawable-ldpi      -------中解析度

  drawable-mdpi    -------低解析度

      drawable-xhdpi     ------至少960*720

  drawable-xxhdpi     --- 1280*720

   替換裡面的圖片就可以了。

  根據實際需求。

 

   接下來:看到項目的根目錄下的  AndroidManifest.xml  開啟看到下面紅色字型

 <application

    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >

...........

 

這個紅色字型就是圖片的名字,把他修改成你圖片的名字,前提它是png格式的。

 

 

   看到右邊紅線 :ic_launcher   這個是圖片的名字  尾碼名為png

 

下面是結果:

 

 總結就是一句話:找一個圖片是png尾碼名的並且把他重新命名為ic_launcher.png,放上去就可以了!

 

Eclipse如何替換android應用表徵圖

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.