마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

안드로이드 타이틀바 고정 질문할게요

0 추천

현재 졸업작품 준비중인 학생입니다.

다름이 아니라 카카오톡 보시면 채팅방에서 EditText를 눌러 Keyboard를 눌렀을때

채팅화면이 밀려나면서 최종적으로 대화한 내용이 보이게 되는데

타이틀바는 밀리지 않는(이해가 안가시면 제가 말씀드린데로 해보십시오) 기능을 구현하고싶은데

메니페스트에서 adjustPan을 적용해 버리면

타이틀바까지 모두 밀려버립니다..

타이틀바를 고정하고싶은데 방법이 없나요?

혹시나 해서 커스텀타이틀바에 관한 XML문서의 내용을 올려드립니다.

고수님들의 조언 부탁드립니다.. ㅠㅠ

Chatting_title.xml

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
  
     >
  
    <ImageView
        android:id="@+id/chattingtitlelogo"
        android:layout_width="30dp"
        android:layout_height="30dp"
        android:src="@drawable/chattingimg"/>
    <TextView
        android:id="@+id/friendname"
        android:textSize="20sp"
        android:layout_toRightOf="@id/chattingtitlelogo"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>
   

</RelativeLayout>

마음만스티브잡스 (120 포인트) 님이 2013년 8월 20일 질문

1개의 답변

0 추천

adjustPan 은 어쩔수 없죠....

stateAlwaysHidden 한번써보세요~~!

ThisPlus (46,920 포인트) 님이 2013년 8월 20일 답변
...