2012-02-19 2 views
-1

내 응용 프로그램 인터페이스에 대해 생각하고, 그래서 내가 좋아하는 대시 보드를 갖도록의 GridView를 적용,하지만 결과에 만족하지, 그래서 내가 몇 가지 애플 리케이션을 찾아이 하나가 아주 좋은 인터페이스를 가지고 있음을 발견 : http://images.frandroid.com/wp-content/uploads/2012/02/patiner.jpg 나는이가의 GridView 또는 간단한 버튼 이미지를 기반으로 또는 다른 팁이 있는지 알고 싶습니다? 대단히 감사합니다.그런 인터페이스를 만드는 방법은 무엇입니까?

+0

질문 및 투표를 포기하지 않을 대답 해보세요! – androniennn

+0

Dunno,하지만 확실히 나를 집처럼 만든다. –

+0

* "시도해보십시오 [..]"* - 큰 충고. 그게 바로 내게 downvote가있는 이유 야. 이것을 실현하는 데는 여러 가지 방법이 있습니다. 그러나 당신은 그것이 보이는 것조차도 시도하지 않았습니다. 나는 당신의 질문에 대답함으로써 당신의 게으름에 보상하지 않을 것입니다. –

답변

1

이것은 당신에게 당신이 원하는 뭔가를 얻어야한다. 하지만 일반 버튼을 사용 했으므로 이미지 버튼이 필요할 것입니다. 나는이 코드를 열어 우연히 그것을 잘라내어 "우호적 인 예"로 만들었습니다. 완벽하지 않을 수도 있습니다.

<?xml version="1.0" encoding="utf-8"?> 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:orientation="vertical"> 
      <LinearLayout 
       android:id="@+id/LinearLayout01" 
       android:layout_width="match_parent" 
       android:layout_height="fill_parent" 
       android:layout_weight="1" > 

       <Button 
        android:id="@+id/btn1" 
        android:layout_weight="1" 
        android:text="1" 
        android:layout_width="0dp"/> 

       <Button 
        android:id="@+id/btn2" 
        android:layout_width="0dp" 
        android:layout_weight="1" 
        android:text="2" /> 
      </LinearLayout> 

      <LinearLayout 
       android:id="@+id/LinearLayout02" 
       android:layout_width="match_parent" 
       android:layout_height="fill_parent" 
       android:layout_weight="1" > 

       <Button 
        android:id="@+id/btn3" 
        android:layout_weight="1" 
        android:text="1" 
        android:layout_width="0dp"/> 

       <Button 
        android:id="@+id/btn4" 
        android:layout_width="0dp" 
        android:layout_weight="1" 
        android:text="2" /> 
      </LinearLayout> 
</LinearLayout> 
+0

답장을 보내 주셔서 감사합니다. 어쨌든, 이것은 단순한 버튼, 기본 안드로이드 것들, 이미지 버튼을 만드는 방법입니까? 그것을 할 수있는 XML 코드가 있습니까? 고맙습니다. – androniennn

+1

예, 그래픽 편집기를 사용하고 있다면 그래픽 편집기에도 있습니다. 그것은 간단하지만,'' – bwoogie

+0

Clear;). 대단히 감사합니다 :). – androniennn

관련 문제