<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум Александра Климова — Темы и стили]]></title>
	<link rel="self" href="http://forum.alexanderklimov.ru/extern.php?action=feed&amp;tid=9&amp;type=atom" />
	<updated>2018-02-23T18:54:20Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.alexanderklimov.ru/viewtopic.php?id=9</id>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=1069#p1069" />
			<content type="html"><![CDATA[<p>спасибо NeferSky, надо было уроки перечитать, прежде чем сюда писать</p>]]></content>
			<author>
				<name><![CDATA[open]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1623</uri>
			</author>
			<updated>2018-02-23T18:54:20Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=1069#p1069</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=1068#p1068" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>open wrote:</cite><blockquote><p>День добрый<br />не могу не как разобраться, у меня в activity_main.xml в строке android:text=&quot;@string/hello&quot;<br />@string/hello подсвечивается красным, <br />и в styles.xml в строке &lt;style name=&quot;MyTextStyle&quot; parent=&quot;@style/Text&quot;&gt; <br />@style/Text красным подсвечивается<br />перепробовал кучу вариантов только таким получается на TextView влиять из styles.xml</p><p>&lt;style name=&quot;AppTheme&quot; parent=&quot;Theme.AppCompat.Light.DarkActionBar&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Customize your theme here. --&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:textSize&quot;&gt;24sp&lt;/item&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:textColor&quot;&gt;#00FF00&lt;/item&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:typeface&quot;&gt;monospace&lt;/item&gt;<br />&nbsp; &nbsp; &lt;/style&gt;</p></blockquote></div><p>Навскидку, не вдумываясь: попробуйте создать TextView с желаемым оформлением, примените к нему Refactor | Extract | Style (есть в уроке) и сравните полученный результат с Вашим нынешним...</p>]]></content>
			<author>
				<name><![CDATA[NeferSky]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1445</uri>
			</author>
			<updated>2018-02-23T11:22:29Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=1068#p1068</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=1067#p1067" />
			<content type="html"><![CDATA[<p>День добрый<br />не могу не как разобраться, у меня в activity_main.xml в строке android:text=&quot;@string/hello&quot;<br />@string/hello подсвечивается красным, <br />и в styles.xml в строке &lt;style name=&quot;MyTextStyle&quot; parent=&quot;@style/Text&quot;&gt; <br />@style/Text красным подсвечивается<br />перепробовал кучу вариантов только таким получается на TextView влиять из styles.xml</p><p>&lt;style name=&quot;AppTheme&quot; parent=&quot;Theme.AppCompat.Light.DarkActionBar&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Customize your theme here. --&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:textSize&quot;&gt;24sp&lt;/item&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:textColor&quot;&gt;#00FF00&lt;/item&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:typeface&quot;&gt;monospace&lt;/item&gt;<br />&nbsp; &nbsp; &lt;/style&gt;</p>]]></content>
			<author>
				<name><![CDATA[open]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1623</uri>
			</author>
			<updated>2018-02-22T08:26:58Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=1067#p1067</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=835#p835" />
			<content type="html"><![CDATA[<p>Вы выбрали не ту тему, вам нужно выбрать тему, которая заканчивается словами NoTitleBar</p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2017-06-01T06:59:08Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=835#p835</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=833#p833" />
			<content type="html"><![CDATA[<p>Не&nbsp; подскажите, почему то не срабатывает &quot;убрать заголовок&quot;</p><p>&lt;style name=&quot;MyTheme&quot; parent=&quot;Theme.AppCompat.Light.DarkActionBar&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:windowNoTitle&quot;&gt;true&lt;/item&gt;<br />&lt;/style&gt;</p><p>программно также&nbsp; заголовок остаётся<br />this.requestWindowFeature(Window.FEATURE_NO_TITLE);</p><p>Это у меня что-то или есть изменения?</p>]]></content>
			<author>
				<name><![CDATA[iorgo]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=1389</uri>
			</author>
			<updated>2017-05-31T21:46:15Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=833#p833</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=483#p483" />
			<content type="html"><![CDATA[<p>Здравствуйте, у меня проблема с темой для &quot;холодного старта&quot;, когда я запускаю приложение, то как раз во время этого холодного старта экран просто белый, без моего изображения, которое я закинул в папку drawable, перед этим сжав до 144 px , подскажите в чем может быть проблема?</p>]]></content>
			<author>
				<name><![CDATA[vodolaznik]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=724</uri>
			</author>
			<updated>2016-04-07T14:31:51Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=483#p483</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=298#p298" />
			<content type="html"><![CDATA[<p>Как правило, у новичков подобные ошибки связаны с ресурсами разметки. Проверьте еще раз файлы в res/layout</p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2016-01-14T15:40:06Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=298#p298</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=297#p297" />
			<content type="html"><![CDATA[<p>Ещё хуже сейчас, просто создаю новую активность захожу в файл java, и сразу R становятся красными</p><p>нужно создавать новый проект по видимому</p>]]></content>
			<author>
				<name><![CDATA[Alchemist]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=720</uri>
			</author>
			<updated>2016-01-14T11:17:45Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=297#p297</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=296#p296" />
			<content type="html"><![CDATA[<p>Тут такая проблема, непонятная для меня, возникает не первый раз. бывает так что ни с того ни сего оператор &quot;R&quot;, через который устанавливать id объектов, помечается как неопознанный объект. Я просто ещё не опытен, только приступил к изучению андроид, возможно я делаю что-то, что вызывает такую реакцию, но просто ускользает из моего понимания. Как по мне это происходит внезапно. прикрепляю фото </p><p><span class="postimg"><img src="http://pixs.ru/showimage/Bezimyanni_3574683_20250811.png" alt="PunBB bbcode test" /></span><br /><a href="http://pixs.ru/showimage/Bezimyanni_3574683_20250811.png">http://pixs.ru/showimage/Bezimyanni_357 … 250811.png</a></p><p>из-за этого приходится создавать новый модуль ((</p>]]></content>
			<author>
				<name><![CDATA[Alchemist]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=720</uri>
			</author>
			<updated>2016-01-14T10:11:21Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=296#p296</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=120#p120" />
			<content type="html"><![CDATA[<p>В атрибуте parent нужно указывать тему, а не стиль, как у вас.</p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2015-08-25T18:45:20Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=120#p120</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=119#p119" />
			<content type="html"><![CDATA[<p>Добрый день.</p><p>&lt;style name=&quot;AppTheme1&quot; parent=&quot;Base.Theme.AppCompat&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:windowTranslucentStatus&quot; tools:targetApi=&quot;kitkat&quot;&gt;true&lt;/item&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:windowTranslucentNavigation&quot; tools:targetApi=&quot;kitkat&quot;&gt;true&lt;/item&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:fitsSystemWindows&quot;&gt;true&lt;/item&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:actionBarStyle&quot;&gt;@style/ActionBar.Solid.GreenStyle&lt;/item&gt;</p><p>&nbsp; &nbsp; &lt;/style&gt;<br />&nbsp; &nbsp; &lt;style name=&quot;ActionBar.Solid.GreenStyle&quot; parent=&quot;@android:style/Widget.Holo.Light.ActionBar.Solid&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;item name=&quot;android:background&quot;&gt;@android:color/holo_orange_dark&lt;/item&gt;<br />&nbsp; &nbsp; &lt;/style&gt;</p><p>Правильно ли я понимаю, что мы создаем 2 стиля, AppTheme1 и ActionBar.Solid.GreenStyle, и функционал второго используем в первом. Если это так, то у меня не цепляется. <br />Пишу напрямую в манифесте&nbsp; ActionBar.Solid.GreenStyle - все отрабатывает</p>]]></content>
			<author>
				<name><![CDATA[rudnef]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=636</uri>
			</author>
			<updated>2015-08-25T18:21:54Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=119#p119</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Темы и стили]]></title>
			<link rel="alternate" href="http://forum.alexanderklimov.ru/viewtopic.php?pid=30#p30" />
			<content type="html"><![CDATA[<p>Обсуждение статьи <a href="http://developer.alexanderklimov.ru/android/theme.php">Темы и стили</a></p>]]></content>
			<author>
				<name><![CDATA[alexander.klimoff]]></name>
				<uri>http://forum.alexanderklimov.ru/profile.php?id=2</uri>
			</author>
			<updated>2015-07-19T16:37:23Z</updated>
			<id>http://forum.alexanderklimov.ru/viewtopic.php?pid=30#p30</id>
		</entry>
</feed>
