<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>:D</title>
    <link>https://berabue.tistory.com/</link>
    <description>berabue@gmail.com</description>
    <language>ko</language>
    <pubDate>Fri, 10 Apr 2026 08:22:14 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>berabue</managingEditor>
    <item>
      <title>BaseAdapter 커스텀 사용 시 터치가 안되는 문제</title>
      <link>https://berabue.tistory.com/154</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;&lt;p&gt;ListView에 버튼을 넣으려면 커스터마이징을 해야한다. BaseAdapter를 상속받아 Adapter를 커스텀하고&lt;br /&gt;&lt;/p&gt;&lt;p&gt;아래와 같이 이벤트 리스너를 등록을하면 버튼은 작동을 하지만 리스트가 클릭이 되지 않는 문제가 생긴다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;ListView.setOnItemClickListener()&lt;/p&gt;&lt;p&gt;ListView.setOnItemLongClickListener()&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;구글링 결과 커스텀 리스트에 버튼이 들어있을경우 모든 이벤트를 버튼이 흡수해버린다.&lt;/div&gt;&lt;div&gt;ImageButton으로 되어있는걸 ImageView로 변경하고 ImageView에 android:clickable=&quot;true&quot; 옵션을 주니&lt;/div&gt;&lt;div&gt;이벤트 리스너가 정상작동한다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Android/Etc.</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/154</guid>
      <comments>https://berabue.tistory.com/154#entry154comment</comments>
      <pubDate>Wed, 22 Jan 2014 17:06:33 +0900</pubDate>
    </item>
    <item>
      <title>ListView 스크롤 시 아이템 위치가 바뀌는 문제</title>
      <link>https://berabue.tistory.com/153</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;커스텀 리스트뷰를 만들어 적용 후 데이터를 넣고 스크롤을 했더니 아이템 위치가 변경되는 현상이 발견.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;생성한 Adapter의 getView에 홀더를 추가하여 데이터 변형을 방지 하였다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;pre class=&quot;brush:java&quot;&gt;@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		final int pos = position;
		
		CustomViewHolder holder;

		if ( convertView == null ) {
			.. 생략
			final TextView textview = (TextView)convertView.findViewById(R.id.custom_word_text);
			textview.setText( m_List.get(pos).getWord() );

			ImageButton btn = (ImageButton) convertView.findViewById(R.id.custom_word_listen);

			holder = new CustomViewHolder();
			holder.m_TextView	= textview;
			holder.m_ImgBtn		= btn;
			
			convertView.setTag(holder);
		}
		else {
			holder = (CustomViewHolder) convertView.getTag();
		}

		if ( m_List.get(pos).isVisibleWord() ) {
			holder.m_TextView.setText(m_List.get(pos).getWord());
		}
		else
			holder.m_TextView.setText(m_List.get(pos).getMeaning());
			
		return convertView;
	}
	
	public class CustomViewHolder {
		public TextView		m_TextView;
		public ImageButton	m_ImgBtn;
	}
&lt;/pre&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Android/Etc.</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/153</guid>
      <comments>https://berabue.tistory.com/153#entry153comment</comments>
      <pubDate>Mon, 20 Jan 2014 11:56:00 +0900</pubDate>
    </item>
    <item>
      <title>Jni를 사용하여 Asset 접근하기</title>
      <link>https://berabue.tistory.com/152</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;Jni를 사용할때 Java를 거치지 않고 Asset파일에 접근 할 수 있다.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;먼저&amp;nbsp;Java에서 Context.getAssets();을 사용하여 AssetManager를 보내준다.&lt;/div&gt;&lt;br /&gt;
&lt;pre class=&quot;brush:java&quot;&gt;	private static native void nativeCreated(AssetManager asset);
&lt;/pre&gt;
&lt;div&gt;&lt;p&gt;jni.c&lt;br /&gt;&lt;/p&gt;
&lt;pre class=&quot;brush:java&quot;&gt;#include &amp;lt;android/asset_manager.h&amp;gt;
#include &amp;lt;android/asset_manager_jni.h&amp;gt;
AAssetManager	*mgr;

void Java_pe_berabue_ex_GLView_nativeCreated(JNIEnv * env, jclass cls, jobject assetManager)
{
	char *buf;
	int fileSize;

	mgr = AAssetManager_fromJava(GetEnv(), assetManager);

	AAsset* asset = AAssetManager_open(mgr, &quot;tmp.txt&quot;, AASSET_MODE_UNKNOWN);	// Asset 폴더안에 tmp.txt가 존재하면

	if ( asset == NULL )
		return;
	
	fileSize = AAsset_getLength(asset);
	
	if ( fileSize == 0 )
		return;
	
	buf = (char *)malloc(sizeof(char)*fileSize);
	AAsset_read(asset, buf, fileSize);
	
	AAsset_close(asset);
}
&lt;/pre&gt;
&lt;p&gt;최소한의 소스만 적어보자면 위와 같다.&lt;/p&gt;&lt;p&gt;헤더파일을 포함시키고 Java에서 받아온 assetManager를 사용하면 된다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;android:minSdkVersion 9 이상 사용가능&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Android/Etc.</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/152</guid>
      <comments>https://berabue.tistory.com/152#entry152comment</comments>
      <pubDate>Wed, 8 Jan 2014 12:42:20 +0900</pubDate>
    </item>
    <item>
      <title>맨티스 설치하기</title>
      <link>https://berabue.tistory.com/151</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;다운로드 하기&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href=&quot;http://www.mantisbt.org/download.php&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;http://www.mantisbt.org/download.php&lt;/a&gt; 다운 받을 파일의 URL을 복사&lt;/p&gt;&lt;p&gt;&amp;nbsp;# wget 해당URL&lt;/p&gt;&lt;p&gt;&amp;nbsp;# tar xvzf 다운로드 받은 파일&lt;/p&gt;&lt;p&gt;&amp;nbsp;위 명령어를 이용하여 다운로드 및 압축을 해제한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;설치하기 (웹 폴더안에 mantis를 만들어 압축을 해제해 놓음)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;http://도메인/mantis/admin/install.php 접속&lt;/p&gt;&lt;p&gt;&amp;nbsp;기본 정보 입력(기본 세팅에 DB비밀번호만 입력함) 후 install/Upgrade Database 버튼 클릭&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;스크롤을 쭈욱 내리다 보면&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: Verdana, Arial; font-size: 16px; font-weight: bold; line-height: normal; background-color: rgb(232, 232, 232);&quot;&gt;&amp;nbsp;Write Configuration File(s)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;위 부분에 에러가 났다면&lt;/p&gt;&lt;p&gt;&amp;nbsp;# cp config_inc.php.sample config_inc.php 명령어를 사용하여 파일 복사&lt;/p&gt;&lt;p&gt;&amp;nbsp;# vi config_inc.php&lt;/p&gt;&lt;p&gt;&amp;nbsp;파일을 열어서 웹사이트에 나와있는&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 13px; line-height: normal; background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 13px; line-height: normal; background-color: transparent;&quot;&gt;$g_hostname = 'localhost';&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 13px; line-height: normal; background-color: transparent;&quot;&gt;$g_db_type = 'mysql';&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 13px; line-height: normal; background-color: transparent;&quot;&gt;$g_database_name = 'bugtracker';&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 13px; line-height: normal; background-color: transparent;&quot;&gt;$g_db_username = 'root';&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 13px; line-height: normal; background-color: transparent;&quot;&gt;$g_db_password = '블라블라';&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;이 부분을 복사하여 붙여넣기, 바로 아래 이메일 부분에 적당히 적어준다.&lt;/p&gt;&lt;p&gt;한글을 사용하기위해 적당한 곳에 $g_default_language = &quot;korean&quot;; 입력 후 저장&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;웹페이지를 새로고침하면 해당 오류가 사라진다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;도메인/mantis 접속 시 로그인 페이지로 전환된다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;admin 폴더 삭제&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;# rm -dfr admin/&lt;/p&gt;&lt;p&gt;&amp;nbsp;설치 완료 후 위 명령어를 사용하여 admin 폴더를 제거한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;administrator 비밀번호 변경&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;계정&amp;nbsp;administrator 비밀번호 root로 로그인을 하고 비밀번호를 변경한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;설치 끝!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>CentOS</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/151</guid>
      <comments>https://berabue.tistory.com/151#entry151comment</comments>
      <pubDate>Wed, 8 Jan 2014 04:26:11 +0900</pubDate>
    </item>
    <item>
      <title>아파치 루트폴더 접속시 index of 감추기</title>
      <link>https://berabue.tistory.com/147</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;'도메인/폴더'와 같은 방법으로 루트폴더를 직접 입력하여 접근할때&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;index 기본 문서 파일이 없다면&amp;nbsp;index of 페이지에 모든 폴더 및 파일이 출력된다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;해당 페이지 출력 시 보안상 문제가 될 수 있으므로 아래와 같은 방법으로 접근을 차단한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;#vi /etc/httpd/conf/httpd.conf&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;해당 파일에서 Options Indexes FollowSymLinks를 찾아 주석처리 한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;#service httpd restart&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;아파치를 재시작하고 다시 접속해 보면 index of 페이지가 출력되지 않는다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>CentOS</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/147</guid>
      <comments>https://berabue.tistory.com/147#entry147comment</comments>
      <pubDate>Sun, 29 Dec 2013 18:54:49 +0900</pubDate>
    </item>
    <item>
      <title>another mysql daemon already running with the same unix socket</title>
      <link>https://berabue.tistory.com/146</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;service mysqld start 명령 실행 시 아래와 같은 문구가 출력되면 해결방법.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;another mysql daemon already running with the same unix socket&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;# service mysqld stop&lt;/p&gt;&lt;p&gt;# mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak&lt;/p&gt;&lt;p&gt;# service mysqld start&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>CentOS</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/146</guid>
      <comments>https://berabue.tistory.com/146#entry146comment</comments>
      <pubDate>Sat, 21 Dec 2013 10:15:09 +0900</pubDate>
    </item>
    <item>
      <title>웹 페이지 시작 경로 변경하기</title>
      <link>https://berabue.tistory.com/145</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;웹페이지 시작 위치가 기본적으로 설정되어 있는 경로는 /var/www/html 이다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;해당 경로를 사용자가 원하는 경로로 변경이 가능하다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;vi /etc/httpd/conf/httpd.conf&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;DocumentRoot &quot;/var/www/html&quot; -&amp;gt; 원하는 경로로 변경&lt;/p&gt;&lt;p&gt;&amp;lt;Directory &quot;/var/www/html&quot;&amp;gt; -&amp;gt; 위와 똑같은 경로로 변경&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;저장 후 아파치 재시작&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;/etc/init.d/httpd restart&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>CentOS</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/145</guid>
      <comments>https://berabue.tistory.com/145#entry145comment</comments>
      <pubDate>Mon, 16 Dec 2013 22:33:11 +0900</pubDate>
    </item>
    <item>
      <title>DocumentRoot must be a directory</title>
      <link>https://berabue.tistory.com/144</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;웹 페이지 시작 위치를 변경하고 아파치를 재시작할때 나타나는 에러&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;chcon -R -h -t httpd_sys_content_t /경로&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>CentOS</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/144</guid>
      <comments>https://berabue.tistory.com/144#entry144comment</comments>
      <pubDate>Mon, 16 Dec 2013 22:29:41 +0900</pubDate>
    </item>
    <item>
      <title>You don't have permission to access / on this server.</title>
      <link>https://berabue.tistory.com/143</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;웹에서 파일 다운로드 시&amp;nbsp;You don't have permission to access / on this server. 오류가 출력되면&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;해당 파일이 존재하는 폴더를 아래와 같이 명령어에 넣는다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;restorecon -rv /경로&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>CentOS</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/143</guid>
      <comments>https://berabue.tistory.com/143#entry143comment</comments>
      <pubDate>Mon, 16 Dec 2013 21:52:48 +0900</pubDate>
    </item>
    <item>
      <title>ListView 만들기</title>
      <link>https://berabue.tistory.com/140</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_배너_320_50 */
google_ad_slot = &quot;7907028150&quot;;
google_ad_width = 320;
google_ad_height = 50;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre class=&quot;brush:java&quot;&gt;public class ListManager {
	
	// 객체
	private ArrayList&lt;/p&gt;&lt;string&gt;		m_ArrList;
    private ArrayAdapter&lt;string&gt;	m_Adapter;
    private EditText				m_EditText;
    private Button					m_BtnAdd;
    private ListView				m_ListView;

    public ListManager()
    {
    	Activity activity = MainActivity.m_Activity;
    	Context context = MainActivity.m_Context;
    	
    	m_EditText	= (EditText) activity.findViewById(R.id.page2_edittext);
    	m_BtnAdd	= (Button) activity.findViewById(R.id.page2_btn_add);
    	m_ListView	= (ListView) activity.findViewById(R.id.page2_listview);
    	m_ArrList	= new ArrayList&lt;string&gt;();
    	
    	// 텍스트 입력 후 아이템 추가
    	m_BtnAdd.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				if ( m_EditText.getText().toString().equals(&quot;&quot;) )
				{
				
					return;
				}
				
				m_ArrList.add(m_EditText.getText().toString());
				m_EditText.setText(&quot;&quot;);
				m_Adapter.notifyDataSetChanged();
			}
		});
    	
    	m_Adapter = new ArrayAdapter&lt;string&gt;(context, android.R.layout.simple_list_item_1, m_ArrList);

    	// 어댑터 연결
    	m_ListView.setAdapter(m_Adapter);
    }
}
&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;메인 액티비티에서 리스트 뷰 사용시 ListActivity를 상속 받아야 하는데 그 외 클래스에서 리스트뷰를 관리 하려면&lt;/p&gt;
&lt;p&gt;이와 같은 방법을 사용하면 된다.&lt;/p&gt;
&lt;p&gt;xml에 설정 된 EditText, Button, ListView를 연결 해준다.&lt;/p&gt;
&lt;p&gt;텍스트 하나만 들어갈 경우 Adapter 생성 시 android.R.layout.simple_list_item_1을 넣어준다.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;xml&lt;/p&gt;&lt;pre class=&quot;brush:java&quot;&gt;&lt;!--?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?--&gt;
&lt;linearlayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent&quot; android:orientation=&quot;vertical&quot; android:id=&quot;@+id/layout_page2&quot;&gt;

    &lt;linearlayout android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot; android:orientation=&quot;horizontal&quot;&gt;
        
	    &lt;edittext android:id=&quot;@+id/page2_edittext&quot; android:layout_width=&quot;0dp&quot; android:layout_height=&quot;wrap_content&quot; android:inputtype=&quot;text&quot; android:singleline=&quot;true&quot; android:layout_weight=&quot;1&quot; android:hint=&quot;@string/page2_hint&quot;&gt;
	    
	    &lt;button android:id=&quot;@+id/page2_btn_add&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:text=&quot;@string/add&quot;&gt;
    
    
    &lt;listview android:id=&quot;@+id/page2_listview&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot;&gt;
        
    &lt;/listview&gt;


&lt;/button&gt;&lt;/edittext&gt;&lt;/linearlayout&gt;&lt;/linearlayout&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td width=&quot;100%&quot; align=&quot;center&quot;&gt;


&lt;div class=&quot;mobile_ad&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-4285545266289423&quot;;
/* 모바일_이미지_300_250 */
google_ad_slot = &quot;2139696158&quot;;
google_ad_width = 300;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/div&gt;
&lt;style&gt;#hottrendsContainer{display:none !important;}&lt;/style&gt;

&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Android</category>
      <author>berabue</author>
      <guid isPermaLink="true">https://berabue.tistory.com/140</guid>
      <comments>https://berabue.tistory.com/140#entry140comment</comments>
      <pubDate>Wed, 20 Nov 2013 12:17:54 +0900</pubDate>
    </item>
  </channel>
</rss>